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

Unified Diff: mojo/services/public/interfaces/native_viewport/native_viewport.mojom

Issue 477923004: Create native_viewport_service, don't build it into mojo_shell unless Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try to get gn build working again Created 6 years, 3 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: mojo/services/public/interfaces/native_viewport/native_viewport.mojom
diff --git a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
index a182a1493c053d1bbd64403ba017297e653ee095..6c9fd199a93070aa8de2fa734f8d717eba0c763e 100644
--- a/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
+++ b/mojo/services/public/interfaces/native_viewport/native_viewport.mojom
@@ -26,4 +26,11 @@ interface NativeViewportClient {
OnEvent(Event event) => ();
};
+// Connect to this interface before any other connections are made and call
+// UseTestConfig(), blocking on the reply. This will ensure that the correct
+// global initialization is done before subsequent connections.
+interface NativeViewportConfig {
+ UseTestConfig() => ();
+};
+
}

Powered by Google App Engine
This is Rietveld 408576698