Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Side by Side Diff: content/browser/renderer_host/browser_compositor_view_mac.mm

Issue 2890063002: Send BeginFrames for the renderer using Mojo (Closed)
Patch Set: c Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/browser_compositor_view_mac.h" 5 #include "content/browser/renderer_host/browser_compositor_view_mac.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // Mac uses the RenderWidgetResizeHelper instead of a resize lock. 428 // Mac uses the RenderWidgetResizeHelper instead of a resize lock.
429 return false; 429 return false;
430 } 430 }
431 431
432 std::unique_ptr<CompositorResizeLock> 432 std::unique_ptr<CompositorResizeLock>
433 BrowserCompositorMac::DelegatedFrameHostCreateResizeLock() { 433 BrowserCompositorMac::DelegatedFrameHostCreateResizeLock() {
434 NOTREACHED(); 434 NOTREACHED();
435 return nullptr; 435 return nullptr;
436 } 436 }
437 437
438 void BrowserCompositorMac::OnBeginFrame(const cc::BeginFrameArgs& args) { 438 void BrowserCompositorMac::OnBeginFrame() {
439 client_->BrowserCompositorMacSendBeginFrame(args); 439 client_->BrowserCompositorMacOnBeginFrame();
440 } 440 }
441 441
442 bool BrowserCompositorMac::IsAutoResizeEnabled() const { 442 bool BrowserCompositorMac::IsAutoResizeEnabled() const {
443 NOTREACHED(); 443 NOTREACHED();
444 return false; 444 return false;
445 } 445 }
446 446
447 } // namespace content 447 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698