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 |