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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "ui/aura/window_delegate.h" | 34 #include "ui/aura/window_delegate.h" |
35 #include "ui/aura/window_tree_host_observer.h" | 35 #include "ui/aura/window_tree_host_observer.h" |
36 #include "ui/base/ime/text_input_client.h" | 36 #include "ui/base/ime/text_input_client.h" |
37 #include "ui/compositor/compositor.h" | 37 #include "ui/compositor/compositor.h" |
38 #include "ui/compositor/compositor_observer.h" | 38 #include "ui/compositor/compositor_observer.h" |
39 #include "ui/compositor/compositor_vsync_manager.h" | 39 #include "ui/compositor/compositor_vsync_manager.h" |
40 #include "ui/gfx/display_observer.h" | 40 #include "ui/gfx/display_observer.h" |
41 #include "ui/gfx/rect.h" | 41 #include "ui/gfx/rect.h" |
42 #include "ui/wm/public/activation_change_observer.h" | 42 #include "ui/wm/public/activation_change_observer.h" |
43 #include "ui/wm/public/activation_delegate.h" | 43 #include "ui/wm/public/activation_delegate.h" |
| 44 #include "ui/wm/public/cursor_delegate.h" |
44 | 45 |
45 namespace aura { | 46 namespace aura { |
46 class WindowTracker; | 47 class WindowTracker; |
47 namespace client { | 48 namespace client { |
48 class ScopedTooltipDisabler; | 49 class ScopedTooltipDisabler; |
49 } | 50 } |
50 } | 51 } |
51 | 52 |
52 namespace cc { | 53 namespace cc { |
53 class CopyOutputRequest; | 54 class CopyOutputRequest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 public ui::CompositorObserver, | 88 public ui::CompositorObserver, |
88 public ui::CompositorVSyncManager::Observer, | 89 public ui::CompositorVSyncManager::Observer, |
89 public ui::TextInputClient, | 90 public ui::TextInputClient, |
90 public gfx::DisplayObserver, | 91 public gfx::DisplayObserver, |
91 public aura::WindowTreeHostObserver, | 92 public aura::WindowTreeHostObserver, |
92 public aura::WindowDelegate, | 93 public aura::WindowDelegate, |
93 public aura::client::ActivationDelegate, | 94 public aura::client::ActivationDelegate, |
94 public aura::client::ActivationChangeObserver, | 95 public aura::client::ActivationChangeObserver, |
95 public aura::client::FocusChangeObserver, | 96 public aura::client::FocusChangeObserver, |
96 public aura::client::CursorClientObserver, | 97 public aura::client::CursorClientObserver, |
| 98 public wm::CursorDelegate, |
97 public ImageTransportFactoryObserver, | 99 public ImageTransportFactoryObserver, |
98 public BrowserAccessibilityDelegate, | 100 public BrowserAccessibilityDelegate, |
99 public SoftwareFrameManagerClient, | 101 public SoftwareFrameManagerClient, |
100 public DelegatedFrameEvictorClient, | 102 public DelegatedFrameEvictorClient, |
101 public base::SupportsWeakPtr<RenderWidgetHostViewAura>, | 103 public base::SupportsWeakPtr<RenderWidgetHostViewAura>, |
102 public cc::DelegatedFrameResourceCollectionClient { | 104 public cc::DelegatedFrameResourceCollectionClient { |
103 public: | 105 public: |
104 // Displays and controls touch editing elements such as selection handles. | 106 // Displays and controls touch editing elements such as selection handles. |
105 class TouchEditingClient { | 107 class TouchEditingClient { |
106 public: | 108 public: |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // Overridden from gfx::DisplayObserver: | 281 // Overridden from gfx::DisplayObserver: |
280 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; | 282 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; |
281 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; | 283 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; |
282 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; | 284 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; |
283 | 285 |
284 // Overridden from aura::WindowDelegate: | 286 // Overridden from aura::WindowDelegate: |
285 virtual gfx::Size GetMinimumSize() const OVERRIDE; | 287 virtual gfx::Size GetMinimumSize() const OVERRIDE; |
286 virtual gfx::Size GetMaximumSize() const OVERRIDE; | 288 virtual gfx::Size GetMaximumSize() const OVERRIDE; |
287 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, | 289 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, |
288 const gfx::Rect& new_bounds) OVERRIDE; | 290 const gfx::Rect& new_bounds) OVERRIDE; |
289 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; | |
290 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 291 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
291 virtual bool ShouldDescendIntoChildForEventHandling( | 292 virtual bool ShouldDescendIntoChildForEventHandling( |
292 aura::Window* child, | 293 aura::Window* child, |
293 const gfx::Point& location) OVERRIDE; | 294 const gfx::Point& location) OVERRIDE; |
294 virtual bool CanFocus() OVERRIDE; | 295 virtual bool CanFocus() OVERRIDE; |
295 virtual void OnCaptureLost() OVERRIDE; | 296 virtual void OnCaptureLost() OVERRIDE; |
296 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 297 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
297 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; | 298 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
298 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; | 299 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; |
299 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; | 300 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; |
(...skipping 13 matching lines...) Expand all Loading... |
313 // Overridden from aura::client::ActivationDelegate: | 314 // Overridden from aura::client::ActivationDelegate: |
314 virtual bool ShouldActivate() const OVERRIDE; | 315 virtual bool ShouldActivate() const OVERRIDE; |
315 | 316 |
316 // Overridden from aura::client::ActivationChangeObserver: | 317 // Overridden from aura::client::ActivationChangeObserver: |
317 virtual void OnWindowActivated(aura::Window* gained_activation, | 318 virtual void OnWindowActivated(aura::Window* gained_activation, |
318 aura::Window* lost_activation) OVERRIDE; | 319 aura::Window* lost_activation) OVERRIDE; |
319 | 320 |
320 // Overridden from aura::client::CursorClientObserver: | 321 // Overridden from aura::client::CursorClientObserver: |
321 virtual void OnCursorVisibilityChanged(bool is_visible) OVERRIDE; | 322 virtual void OnCursorVisibilityChanged(bool is_visible) OVERRIDE; |
322 | 323 |
| 324 // Overridden from wm::CursorDelegate: |
| 325 virtual gfx::NativeCursor GetCursorForPoint(const gfx::Point& point) OVERRIDE; |
| 326 |
323 // Overridden from aura::client::FocusChangeObserver: | 327 // Overridden from aura::client::FocusChangeObserver: |
324 virtual void OnWindowFocused(aura::Window* gained_focus, | 328 virtual void OnWindowFocused(aura::Window* gained_focus, |
325 aura::Window* lost_focus) OVERRIDE; | 329 aura::Window* lost_focus) OVERRIDE; |
326 | 330 |
327 // Overridden from aura::WindowTreeHostObserver: | 331 // Overridden from aura::WindowTreeHostObserver: |
328 virtual void OnHostMoved(const aura::WindowTreeHost* host, | 332 virtual void OnHostMoved(const aura::WindowTreeHost* host, |
329 const gfx::Point& new_origin) OVERRIDE; | 333 const gfx::Point& new_origin) OVERRIDE; |
330 | 334 |
331 // SoftwareFrameManagerClient implementation: | 335 // SoftwareFrameManagerClient implementation: |
332 virtual void SoftwareFrameWasFreed( | 336 virtual void SoftwareFrameWasFreed( |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 // etc. | 796 // etc. |
793 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 797 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
794 legacy_render_widget_host_HWND_; | 798 legacy_render_widget_host_HWND_; |
795 #endif | 799 #endif |
796 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 800 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
797 }; | 801 }; |
798 | 802 |
799 } // namespace content | 803 } // namespace content |
800 | 804 |
801 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 805 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |