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

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: Extract DragsWindowUsingCocoaMoveLoop test, cleanup code. Created 4 years, 9 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..64d0ee084fd53f5b83fa97817377de4407d56ede 100644
--- a/ui/base/test/ui_controls.h
+++ b/ui/base/test/ui_controls.h
@@ -102,6 +102,15 @@ 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();
+
+// Invokes |task| when an application starts processing an event that matches
+// |event|.
+void NotifyWhenEventIsProcessed(NSEvent* event, const base::Closure& task);
#endif
} // namespace ui_controls

Powered by Google App Engine
This is Rietveld 408576698