Index: services/ui/public/interfaces/window_server_test.mojom |
diff --git a/services/ui/public/interfaces/window_server_test.mojom b/services/ui/public/interfaces/window_server_test.mojom |
index 2a8028f055eb4de03286f83acb59244790769eea..899faf23086dcbb0efd8733a7393ea8fd62e36ce 100644 |
--- a/services/ui/public/interfaces/window_server_test.mojom |
+++ b/services/ui/public/interfaces/window_server_test.mojom |
@@ -4,6 +4,14 @@ |
module ui.mojom; |
+import "ui/events/mojo/event.mojom"; |
+ |
interface WindowServerTest { |
EnsureClientHasDrawnWindow(string client_name) => (bool success); |
+ |
+ // Takes an event and dispatches it as if it came from the native platform. |
+ // Returns false on bad |display_id| or |event|; returns true if it reaches |
+ // the event dispatch phase. |
+ DispatchEvent(int64 display_id, ui.mojom.Event event) |
+ => (bool result); |
}; |