Index: ui/aura/root_window_host.h |
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h |
index 168f2d67f12273933fa320354cdaaf75e2153faa..e9007326bb18e1633606c529379a97b0163340bd 100644 |
--- a/ui/aura/root_window_host.h |
+++ b/ui/aura/root_window_host.h |
@@ -75,7 +75,8 @@ class AURA_EXPORT RootWindowHost { |
// Queries the mouse's current position relative to the host window and sets |
// it in |location_return|. Returns true if the cursor is within the host |
// window. The position set to |location_return| is constrained within the |
- // host window. |
+ // host window. If the cursor is disabled, returns false and (0, 0) is set to |
+ // |location_return|. |
// This method is expensive, instead use gfx::Screen::GetCursorScreenPoint(). |
virtual bool QueryMouseLocation(gfx::Point* location_return) = 0; |
@@ -83,8 +84,8 @@ class AURA_EXPORT RootWindowHost { |
virtual bool ConfineCursorToRootWindow() = 0; |
virtual void UnConfineCursor() = 0; |
- // Called when the cursor visibility has changed. |
- virtual void OnCursorVisibilityChanged(bool show) = 0; |
+ // Invoked when the cursor gets enabled or disabled. |
+ virtual void OnCursorEnableStateChanged(bool enabled) = 0; |
// Moves the cursor to the specified location relative to the root window. |
virtual void MoveCursorTo(const gfx::Point& location) = 0; |