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

Unified Diff: components/view_manager/public/interfaces/view_tree.mojom

Issue 1281663002: Mandoline: Allow submitting CompositorFrames directly to mojo::Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « components/view_manager/public/interfaces/surfaces.mojom ('k') | components/view_manager/server_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/public/interfaces/view_tree.mojom
diff --git a/components/view_manager/public/interfaces/view_tree.mojom b/components/view_manager/public/interfaces/view_tree.mojom
index 30f72794238cf16d238862045eb7de3deb079d5a..1aa3b6d9da26a7147c8d9a32d4a9c8ecea6eca74 100644
--- a/components/view_manager/public/interfaces/view_tree.mojom
+++ b/components/view_manager/public/interfaces/view_tree.mojom
@@ -4,6 +4,7 @@
module mojo;
+import "components/view_manager/public/interfaces/compositor_frame.mojom";
import "components/view_manager/public/interfaces/surface_id.mojom";
import "components/view_manager/public/interfaces/view_manager_constants.mojom";
import "mojo/application/public/interfaces/service_provider.mojom";
@@ -75,6 +76,9 @@ interface ViewTree {
string name,
array<uint8>? value) => (bool success);
+ // Requests a Surface for a particular view.
+ RequestSurface(uint32 view_id, Surface& surface, SurfaceClient client);
+
// Reparents a view.
// This fails for any of the following reasons:
// . |parent| or |child| does not identify a valid view.
@@ -109,9 +113,6 @@ interface ViewTree {
// search (pre-order).
GetViewTree(uint32 view_id) => (array<ViewData> views);
- // Shows the surface in the specified view.
- SetViewSurfaceId(uint32 view_id, SurfaceId surface_id) => (bool success);
-
// TODO(sky): rename this and clarify what it does.
SetEmbedRoot();
« no previous file with comments | « components/view_manager/public/interfaces/surfaces.mojom ('k') | components/view_manager/server_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698