Index: ash/display/display_controller.h |
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h |
index 9fccbffa37deca4363f16cabfcc84b73e99d7048..906dab2639d68bbc862fed7d6277f46638206e60 100644 |
--- a/ash/display/display_controller.h |
+++ b/ash/display/display_controller.h |
@@ -191,6 +191,13 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver { |
// Returns the display layout registered for the given display id |pair|. |
DisplayLayout GetRegisteredDisplayLayout(const DisplayIdPair& pair) const; |
+ // Checks if the mouse pointer is on one of displays, and moves to |
+ // the center of the nearest display if it's outside of all displays. |
+ void EnsurePointerInDisplays(); |
+ |
+ gfx::Point GetNativeMouseCursorLocation() const; |
+ void UpdateMouseCursor(const gfx::Point& point_in_native); |
+ |
// aura::DisplayObserver overrides: |
virtual void OnDisplayBoundsChanged( |
const gfx::Display& display) OVERRIDE; |