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

Unified Diff: ui/base/test/ui_controls.h

Issue 1747803003: MacViews: Implement Tab Dragging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed debug logging, use CGEvents for drag-n-drop. Created 4 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
Index: ui/base/test/ui_controls.h
diff --git a/ui/base/test/ui_controls.h b/ui/base/test/ui_controls.h
index e54f936ce25e082c4db90fb0e9a162b02bb365cd..8313080b1c18f2658fb49fa54d7b90e34e977dd4 100644
--- a/ui/base/test/ui_controls.h
+++ b/ui/base/test/ui_controls.h
@@ -102,6 +102,11 @@ void InstallUIControlsAura(UIControlsAura* instance);
// to traverse to the desired item; because the application is configured to
// traverse more elements for accessibility reasons.
bool IsFullKeyboardAccessEnabled();
+
+// When |enable_cgevents| is true, all simulated mouse events will be posted to
+// the WindowServer, and the actual mouse will move on the screen.
+void SetSendMouseEventsAsCGEvents(bool enable_cgevents);
+bool SendMouseEventsAsCGEvents();
#endif
} // namespace ui_controls

Powered by Google App Engine
This is Rietveld 408576698