| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 // Called after |window_| is parented to a WindowEventDispatcher. | 428 // Called after |window_| is parented to a WindowEventDispatcher. |
| 429 void AddedToRootWindow(); | 429 void AddedToRootWindow(); |
| 430 | 430 |
| 431 // Called prior to removing |window_| from a WindowEventDispatcher. | 431 // Called prior to removing |window_| from a WindowEventDispatcher. |
| 432 void RemovingFromRootWindow(); | 432 void RemovingFromRootWindow(); |
| 433 | 433 |
| 434 // DelegatedFrameHostClient implementation. | 434 // DelegatedFrameHostClient implementation. |
| 435 ui::Layer* DelegatedFrameHostGetLayer() const override; | 435 ui::Layer* DelegatedFrameHostGetLayer() const override; |
| 436 bool DelegatedFrameHostIsVisible() const override; | 436 bool DelegatedFrameHostIsVisible() const override; |
| 437 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; |
| 437 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; | 438 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; |
| 438 bool DelegatedFrameCanCreateResizeLock() const override; | 439 bool DelegatedFrameCanCreateResizeLock() const override; |
| 439 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( | 440 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( |
| 440 bool defer_compositor_lock) override; | 441 bool defer_compositor_lock) override; |
| 441 void DelegatedFrameHostResizeLockWasReleased() override; | 442 void DelegatedFrameHostResizeLockWasReleased() override; |
| 442 void DelegatedFrameHostSendCompositorSwapAck( | 443 void DelegatedFrameHostSendCompositorSwapAck( |
| 443 int output_surface_id, | 444 int output_surface_id, |
| 444 const cc::CompositorFrameAck& ack) override; | 445 const cc::CompositorFrameAck& ack) override; |
| 445 void DelegatedFrameHostSendReclaimCompositorResources( | 446 void DelegatedFrameHostSendReclaimCompositorResources( |
| 446 int output_surface_id, | 447 int output_surface_id, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 bool disable_input_event_router_for_testing_; | 673 bool disable_input_event_router_for_testing_; |
| 673 | 674 |
| 674 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 675 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 675 | 676 |
| 676 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 677 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 677 }; | 678 }; |
| 678 | 679 |
| 679 } // namespace content | 680 } // namespace content |
| 680 | 681 |
| 681 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 682 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |