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

Unified Diff: ui/aura/root_window.h

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: fix win_aura 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
« no previous file with comments | « ui/aura/env.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 06755667fb240b3e255fba9dde1abe87ac2d72df..e376599df412bdf38407846056881aa517d279a9 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -117,6 +117,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// Invoked when the cursor's visibility has changed.
void OnCursorVisibilityChanged(bool visible);
+ // Invoked when the mouse events get enabled or disabled.
+ void OnMouseEventsEnableStateChanged(bool enabled);
+
// Moves the cursor to the specified location relative to the root window.
virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE;
@@ -256,7 +259,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
virtual void ReleaseNativeCapture() OVERRIDE;
// Exposes RootWindowHost::QueryMouseLocation() for test purposes.
- gfx::Point QueryMouseLocationForTest() const;
+ bool QueryMouseLocationForTest(gfx::Point* point) const;
private:
friend class Window;
« no previous file with comments | « ui/aura/env.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698