Index: components/exo/wm_helper.h |
diff --git a/components/exo/wm_helper.h b/components/exo/wm_helper.h |
index ad0aeb6ac5a49c4ade7b17c4aac25ecff5873d22..91445caec911b07d168347033fb58ecdfe70abb6 100644 |
--- a/components/exo/wm_helper.h |
+++ b/components/exo/wm_helper.h |
@@ -14,6 +14,7 @@ class Window; |
} |
namespace display { |
+class Display; |
class ManagedDisplayInfo; |
} |
@@ -48,6 +49,7 @@ class WMHelper { |
public: |
virtual void OnCursorVisibilityChanged(bool is_visible) {} |
virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {} |
+ virtual void OnCursorDisplayChanging(const display::Display& display) {} |
protected: |
virtual ~CursorObserver() {} |
@@ -110,7 +112,7 @@ class WMHelper { |
virtual const display::ManagedDisplayInfo GetDisplayInfo( |
int64_t display_id) const = 0; |
- virtual aura::Window* GetContainer(int container_id) = 0; |
+ virtual aura::Window* GetContainer(int64_t display_id, int container_id) = 0; |
virtual aura::Window* GetActiveWindow() const = 0; |
virtual aura::Window* GetFocusedWindow() const = 0; |
virtual ui::CursorSetType GetCursorSet() const = 0; |
@@ -132,6 +134,7 @@ class WMHelper { |
aura::Window* lost_focus); |
void NotifyCursorVisibilityChanged(bool is_visible); |
void NotifyCursorSetChanged(ui::CursorSetType cursor_set); |
+ void NotifyCursorDisplayChanging(const display::Display& display); |
void NotifyMaximizeModeStarted(); |
void NotifyMaximizeModeEnding(); |
void NotifyMaximizeModeEnded(); |