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

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

Issue 534843002: Convert view manager to surfaces with uploading shim in client lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/view_manager/view_manager.mojom
diff --git a/mojo/services/public/interfaces/view_manager/view_manager.mojom b/mojo/services/public/interfaces/view_manager/view_manager.mojom
index d1a7f4d97189281d989108e5671c29f74da50118..ad130c86a0bbd56c4df6caadd0a6c9c49103b2cf 100644
--- a/mojo/services/public/interfaces/view_manager/view_manager.mojom
+++ b/mojo/services/public/interfaces/view_manager/view_manager.mojom
@@ -5,6 +5,7 @@
import "mojo/public/interfaces/application/service_provider.mojom"
import "mojo/services/public/interfaces/geometry/geometry.mojom"
import "mojo/services/public/interfaces/input_events/input_events.mojom"
+import "mojo/services/public/interfaces/surfaces/surface_id.mojom"
import "mojo/services/public/interfaces/view_manager/view_manager_constants.mojom"
module mojo {
@@ -100,10 +101,8 @@ interface ViewManagerService {
// search (pre-order).
GetViewTree(uint32 view_id) => (ViewData?[]? views);
- // Shows the specified image (png encoded) in the specified view.
- SetViewContents(uint32 view_id,
- handle<shared_buffer>? buffer,
- uint32 buffer_size) => (bool success);
+ // Shows the surface in the specified view.
+ SetViewSurfaceId(uint32 view_id, SurfaceId surface_id) => (bool success);
// Embeds the app for |url| in the specified view. More specifically this
// creates a new connection to the specified url, expecting to get a

Powered by Google App Engine
This is Rietveld 408576698