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

Unified Diff: ash/shell.cc

Issue 11412315: Make the cursor have separate mode for disabled mouse events and invisible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 15d33f59e5b9fa1b7ee743c9bcfc1f03a088c86b..98e148f1b4690d9d19381267e8d5f0207f1db7eb 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -588,7 +588,7 @@ void Shell::Init() {
user_wallpaper_delegate_->InitializeWallpaper();
if (initially_hide_cursor_)
- cursor_manager_.ShowCursor(false);
+ cursor_manager_.EnableCursor(false);
cursor_manager_.SetCursor(ui::kCursorPointer);
// Cursor might have been hidden by somethign other than chrome.

Powered by Google App Engine
This is Rietveld 408576698