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

Unified Diff: ui/aura/root_window.h

Issue 10829180: Move cursor when it's hidden so that UX can update correctly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test Created 8 years, 4 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 | ui/aura/root_window.cc » ('j') | ui/aura/root_window.cc » ('J')
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 ac435e8dc5b274a157deb31de7be7f517e809102..c63e00c77df798c494b4a8d83e010b2a9902f325 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -338,6 +338,12 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
// is no a pending task.
void PostMouseMoveEventAfterWindowChange();
+ // Creates and dispatches synthesized mouse event using the
+ // current mouse location, if specified by |use_current_position| other wise
+ // passes an offscreen location of (-1, -1).
+ void SynthesizeMouseEvent(ui::EventType event_type,
+ bool use_current_position);
+
// Creates and dispatches synthesized mouse move event using the
// current mouse location.
void SynthesizeMouseMoveEvent();
« no previous file with comments | « no previous file | ui/aura/root_window.cc » ('j') | ui/aura/root_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698