Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: ash/display/cursor_window_controller.h

Issue 980453002: ash::CursorWindowController: handle ui::kCursorNone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Need to check |cursor_window_| Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/display/cursor_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | ash/display/cursor_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698