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 |