| Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.h
|
| diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
|
| index 3f8b0a90a5b570aafffb5c1d9e774178f77724ba..c70b126aaecfeb0b15c2544998c731844a5e6fdd 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
|
| +++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
|
| @@ -15,6 +15,7 @@
|
| #include "ui/wm/core/compound_event_filter.h"
|
| #include "ui/wm/public/activation_change_observer.h"
|
| #include "ui/wm/public/activation_delegate.h"
|
| +#include "ui/wm/public/cursor_delegate.h"
|
| #include "ui/wm/public/drag_drop_delegate.h"
|
|
|
| namespace aura {
|
| @@ -60,7 +61,8 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
|
| public aura::client::FocusChangeObserver,
|
| public views::internal::InputMethodDelegate,
|
| public aura::client::DragDropDelegate,
|
| - public aura::WindowTreeHostObserver {
|
| + public aura::WindowTreeHostObserver,
|
| + public wm::CursorDelegate {
|
| public:
|
| explicit DesktopNativeWidgetAura(internal::NativeWidgetDelegate* delegate);
|
| virtual ~DesktopNativeWidgetAura();
|
| @@ -186,7 +188,6 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
|
| virtual gfx::Size GetMaximumSize() const OVERRIDE;
|
| virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
|
| const gfx::Rect& new_bounds) OVERRIDE {}
|
| - virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE;
|
| virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE;
|
| virtual bool ShouldDescendIntoChildForEventHandling(
|
| aura::Window* child,
|
| @@ -236,6 +237,9 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
|
| virtual void OnHostMoved(const aura::WindowTreeHost* host,
|
| const gfx::Point& new_origin) OVERRIDE;
|
|
|
| + // Overridden from wm::CursorDelegate:
|
| + virtual gfx::NativeCursor GetCursorForPoint(const gfx::Point& point) OVERRIDE;
|
| +
|
| private:
|
| friend class FocusManagerEventHandler;
|
| friend class RootWindowDestructionObserver;
|
|
|