Index: ash/display/cursor_window_controller.h |
diff --git a/ash/display/cursor_window_controller.h b/ash/display/cursor_window_controller.h |
index 6e55c2f9b7235bdf850cc5c0b2ebcef0c1777eb3..8af6906eec96d2e3a785b244ed35c4b42fc9ef95 100644 |
--- a/ash/display/cursor_window_controller.h |
+++ b/ash/display/cursor_window_controller.h |
@@ -60,6 +60,9 @@ class ASH_EXPORT CursorWindowController { |
// Updates cursor image based on current cursor state. |
void UpdateCursorImage(); |
+ // Hides/shows cursor window based on current cursor state. |
+ void UpdateCursorVisibility(); |
+ |
bool is_cursor_compositing_enabled_; |
aura::Window* container_; |
@@ -69,6 +72,9 @@ class ASH_EXPORT CursorWindowController { |
// The native_type of the cursor, see definitions in cursor.h |
int cursor_type_; |
+ // The last requested cursor visibility. |
+ bool visible_; |
+ |
ui::CursorSetType cursor_set_; |
gfx::Display::Rotation cursor_rotation_; |
gfx::Point hot_point_; |