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

Unified Diff: ui/aura/cursor_manager.h

Issue 10826005: Don't warp mouse if the cursor is locked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: ui/aura/cursor_manager.h
diff --git a/ui/aura/cursor_manager.h b/ui/aura/cursor_manager.h
index 84e4207c82838cedc9a5015ceb27814738c6a1c3..6f87adc49fcc7ea914c1037202bd42ade2253082 100644
--- a/ui/aura/cursor_manager.h
+++ b/ui/aura/cursor_manager.h
@@ -26,6 +26,8 @@ class AURA_EXPORT CursorManager {
void LockCursor();
void UnlockCursor();
+ bool IsCursorLocked();
+
void SetCursor(gfx::NativeCursor);
// Shows or hides the cursor.
@@ -55,4 +57,3 @@ class AURA_EXPORT CursorManager {
} // namespace aura
#endif // UI_AURA_CURSOR_MANAGER_H_
-

Powered by Google App Engine
This is Rietveld 408576698