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

Unified Diff: services/ui/public/interfaces/window_server_test.mojom

Issue 2759463002: aura-mus: create an interactive ui test for drag and drop. (Closed)
Patch Set: Merge with master Created 3 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
« no previous file with comments | « no previous file | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698