| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 | 445 |
| 446 // DelegatedFrameHostClient implementation. | 446 // DelegatedFrameHostClient implementation. |
| 447 ui::Layer* DelegatedFrameHostGetLayer() const override; | 447 ui::Layer* DelegatedFrameHostGetLayer() const override; |
| 448 bool DelegatedFrameHostIsVisible() const override; | 448 bool DelegatedFrameHostIsVisible() const override; |
| 449 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; | 449 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; |
| 450 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; | 450 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; |
| 451 bool DelegatedFrameCanCreateResizeLock() const override; | 451 bool DelegatedFrameCanCreateResizeLock() const override; |
| 452 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( | 452 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( |
| 453 bool defer_compositor_lock) override; | 453 bool defer_compositor_lock) override; |
| 454 void DelegatedFrameHostResizeLockWasReleased() override; | 454 void DelegatedFrameHostResizeLockWasReleased() override; |
| 455 void DelegatedFrameHostSendCompositorSwapAck( | |
| 456 int output_surface_id, | |
| 457 const cc::CompositorFrameAck& ack) override; | |
| 458 void DelegatedFrameHostSendReclaimCompositorResources( | 455 void DelegatedFrameHostSendReclaimCompositorResources( |
| 459 int output_surface_id, | 456 int output_surface_id, |
| 460 const cc::CompositorFrameAck& ack) override; | 457 bool is_swap_ack, |
| 458 const cc::ReturnedResourceArray& resources) override; |
| 461 void DelegatedFrameHostOnLostCompositorResources() override; | 459 void DelegatedFrameHostOnLostCompositorResources() override; |
| 462 void DelegatedFrameHostUpdateVSyncParameters( | 460 void DelegatedFrameHostUpdateVSyncParameters( |
| 463 const base::TimeTicks& timebase, | 461 const base::TimeTicks& timebase, |
| 464 const base::TimeDelta& interval) override; | 462 const base::TimeDelta& interval) override; |
| 465 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 463 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
| 466 bool IsAutoResizeEnabled() const override; | 464 bool IsAutoResizeEnabled() const override; |
| 467 | 465 |
| 468 // TextInputManager::Observer implementation. | 466 // TextInputManager::Observer implementation. |
| 469 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, | 467 void OnUpdateTextInputStateCalled(TextInputManager* text_input_manager, |
| 470 RenderWidgetHostViewBase* updated_view, | 468 RenderWidgetHostViewBase* updated_view, |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 bool disable_input_event_router_for_testing_; | 685 bool disable_input_event_router_for_testing_; |
| 688 | 686 |
| 689 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 687 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 690 | 688 |
| 691 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 689 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 692 }; | 690 }; |
| 693 | 691 |
| 694 } // namespace content | 692 } // namespace content |
| 695 | 693 |
| 696 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 694 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |