OLD | NEW |
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 Loading... |
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 |
OLD | NEW |