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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 // moved to center. | 442 // moved to center. |
443 bool ShouldMoveToCenter(); | 443 bool ShouldMoveToCenter(); |
444 | 444 |
445 // Called after |window_| is parented to a WindowEventDispatcher. | 445 // Called after |window_| is parented to a WindowEventDispatcher. |
446 void AddedToRootWindow(); | 446 void AddedToRootWindow(); |
447 | 447 |
448 // Called prior to removing |window_| from a WindowEventDispatcher. | 448 // Called prior to removing |window_| from a WindowEventDispatcher. |
449 void RemovingFromRootWindow(); | 449 void RemovingFromRootWindow(); |
450 | 450 |
451 // DelegatedFrameHostClient implementation. | 451 // DelegatedFrameHostClient implementation. |
452 int DelegatedFrameHostGetGpuMemoryBufferClientId() const override; | |
453 ui::Layer* DelegatedFrameHostGetLayer() const override; | 452 ui::Layer* DelegatedFrameHostGetLayer() const override; |
454 bool DelegatedFrameHostIsVisible() const override; | 453 bool DelegatedFrameHostIsVisible() const override; |
455 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; | 454 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; |
456 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; | 455 gfx::Size DelegatedFrameHostDesiredSizeInDIP() const override; |
457 bool DelegatedFrameCanCreateResizeLock() const override; | 456 bool DelegatedFrameCanCreateResizeLock() const override; |
458 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( | 457 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( |
459 bool defer_compositor_lock) override; | 458 bool defer_compositor_lock) override; |
460 void DelegatedFrameHostResizeLockWasReleased() override; | 459 void DelegatedFrameHostResizeLockWasReleased() override; |
461 void DelegatedFrameHostSendCompositorSwapAck( | 460 void DelegatedFrameHostSendCompositorSwapAck( |
462 int output_surface_id, | 461 int output_surface_id, |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 bool disable_input_event_router_for_testing_; | 694 bool disable_input_event_router_for_testing_; |
696 | 695 |
697 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 696 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
698 | 697 |
699 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 698 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
700 }; | 699 }; |
701 | 700 |
702 } // namespace content | 701 } // namespace content |
703 | 702 |
704 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 703 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |