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

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

Issue 1280613003: Allow native_viewport to create new native windows on demand on Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Refactor Created 5 years, 4 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/native_viewport/public/interfaces/native_viewport.mojom
diff --git a/mojo/services/native_viewport/public/interfaces/native_viewport.mojom b/mojo/services/native_viewport/public/interfaces/native_viewport.mojom
index ab1506e6f923026c2d75aa911e54191e2b2d0fb0..1f41fa6bb6d2f9866f1e6905684267d936dcf79b 100644
--- a/mojo/services/native_viewport/public/interfaces/native_viewport.mojom
+++ b/mojo/services/native_viewport/public/interfaces/native_viewport.mojom
@@ -49,3 +49,10 @@ interface NativeViewport {
interface NativeViewportEventDispatcher {
OnEvent(Event event) => ();
};
+
+// Service to be used by the Shell to notify NativeViewport of major changes.
+interface NativeViewportShellService {
+ // A new native surface (e.g.: a new activity instance on Android) is
+ // available and can be used for rendering.
+ NewNativeSurfaceAvailable();
+};
« no previous file with comments | « no previous file | services/native_viewport/BUILD.gn » ('j') | services/native_viewport/platform_viewport_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698