Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 213383007: Revert of Move GetCursor() method from WindowDelegate to its own delegate interface CursorDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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"
45 44
46 namespace aura { 45 namespace aura {
47 class WindowTracker; 46 class WindowTracker;
48 namespace client { 47 namespace client {
49 class ScopedTooltipDisabler; 48 class ScopedTooltipDisabler;
50 } 49 }
51 } 50 }
52 51
53 namespace cc { 52 namespace cc {
54 class CopyOutputRequest; 53 class CopyOutputRequest;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 public ui::CompositorObserver, 87 public ui::CompositorObserver,
89 public ui::CompositorVSyncManager::Observer, 88 public ui::CompositorVSyncManager::Observer,
90 public ui::TextInputClient, 89 public ui::TextInputClient,
91 public gfx::DisplayObserver, 90 public gfx::DisplayObserver,
92 public aura::WindowTreeHostObserver, 91 public aura::WindowTreeHostObserver,
93 public aura::WindowDelegate, 92 public aura::WindowDelegate,
94 public aura::client::ActivationDelegate, 93 public aura::client::ActivationDelegate,
95 public aura::client::ActivationChangeObserver, 94 public aura::client::ActivationChangeObserver,
96 public aura::client::FocusChangeObserver, 95 public aura::client::FocusChangeObserver,
97 public aura::client::CursorClientObserver, 96 public aura::client::CursorClientObserver,
98 public wm::CursorDelegate,
99 public ImageTransportFactoryObserver, 97 public ImageTransportFactoryObserver,
100 public BrowserAccessibilityDelegate, 98 public BrowserAccessibilityDelegate,
101 public SoftwareFrameManagerClient, 99 public SoftwareFrameManagerClient,
102 public DelegatedFrameEvictorClient, 100 public DelegatedFrameEvictorClient,
103 public base::SupportsWeakPtr<RenderWidgetHostViewAura>, 101 public base::SupportsWeakPtr<RenderWidgetHostViewAura>,
104 public cc::DelegatedFrameResourceCollectionClient { 102 public cc::DelegatedFrameResourceCollectionClient {
105 public: 103 public:
106 // Displays and controls touch editing elements such as selection handles. 104 // Displays and controls touch editing elements such as selection handles.
107 class TouchEditingClient { 105 class TouchEditingClient {
108 public: 106 public:
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Overridden from gfx::DisplayObserver: 279 // Overridden from gfx::DisplayObserver:
282 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; 280 virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE;
283 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 281 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
284 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 282 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
285 283
286 // Overridden from aura::WindowDelegate: 284 // Overridden from aura::WindowDelegate:
287 virtual gfx::Size GetMinimumSize() const OVERRIDE; 285 virtual gfx::Size GetMinimumSize() const OVERRIDE;
288 virtual gfx::Size GetMaximumSize() const OVERRIDE; 286 virtual gfx::Size GetMaximumSize() const OVERRIDE;
289 virtual void OnBoundsChanged(const gfx::Rect& old_bounds, 287 virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
290 const gfx::Rect& new_bounds) OVERRIDE; 288 const gfx::Rect& new_bounds) OVERRIDE;
289 virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
291 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; 290 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
292 virtual bool ShouldDescendIntoChildForEventHandling( 291 virtual bool ShouldDescendIntoChildForEventHandling(
293 aura::Window* child, 292 aura::Window* child,
294 const gfx::Point& location) OVERRIDE; 293 const gfx::Point& location) OVERRIDE;
295 virtual bool CanFocus() OVERRIDE; 294 virtual bool CanFocus() OVERRIDE;
296 virtual void OnCaptureLost() OVERRIDE; 295 virtual void OnCaptureLost() OVERRIDE;
297 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 296 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
298 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; 297 virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
299 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; 298 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
300 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 299 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
(...skipping 13 matching lines...) Expand all
314 // Overridden from aura::client::ActivationDelegate: 313 // Overridden from aura::client::ActivationDelegate:
315 virtual bool ShouldActivate() const OVERRIDE; 314 virtual bool ShouldActivate() const OVERRIDE;
316 315
317 // Overridden from aura::client::ActivationChangeObserver: 316 // Overridden from aura::client::ActivationChangeObserver:
318 virtual void OnWindowActivated(aura::Window* gained_activation, 317 virtual void OnWindowActivated(aura::Window* gained_activation,
319 aura::Window* lost_activation) OVERRIDE; 318 aura::Window* lost_activation) OVERRIDE;
320 319
321 // Overridden from aura::client::CursorClientObserver: 320 // Overridden from aura::client::CursorClientObserver:
322 virtual void OnCursorVisibilityChanged(bool is_visible) OVERRIDE; 321 virtual void OnCursorVisibilityChanged(bool is_visible) OVERRIDE;
323 322
324 // Overridden from wm::CursorDelegate:
325 virtual gfx::NativeCursor GetCursorForPoint(const gfx::Point& point) OVERRIDE;
326
327 // Overridden from aura::client::FocusChangeObserver: 323 // Overridden from aura::client::FocusChangeObserver:
328 virtual void OnWindowFocused(aura::Window* gained_focus, 324 virtual void OnWindowFocused(aura::Window* gained_focus,
329 aura::Window* lost_focus) OVERRIDE; 325 aura::Window* lost_focus) OVERRIDE;
330 326
331 // Overridden from aura::WindowTreeHostObserver: 327 // Overridden from aura::WindowTreeHostObserver:
332 virtual void OnHostMoved(const aura::WindowTreeHost* host, 328 virtual void OnHostMoved(const aura::WindowTreeHost* host,
333 const gfx::Point& new_origin) OVERRIDE; 329 const gfx::Point& new_origin) OVERRIDE;
334 330
335 // SoftwareFrameManagerClient implementation: 331 // SoftwareFrameManagerClient implementation:
336 virtual void SoftwareFrameWasFreed( 332 virtual void SoftwareFrameWasFreed(
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 // etc. 792 // etc.
797 scoped_ptr<content::LegacyRenderWidgetHostHWND> 793 scoped_ptr<content::LegacyRenderWidgetHostHWND>
798 legacy_render_widget_host_HWND_; 794 legacy_render_widget_host_HWND_;
799 #endif 795 #endif
800 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 796 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
801 }; 797 };
802 798
803 } // namespace content 799 } // namespace content
804 800
805 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 801 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698