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

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: remove overzealous shutdown check in cc/surfaces, add NON_EXPORTED_BASE for windows build, saturate… 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 84ca0832fb7f0bb7ec3c4cfb9371af792a0141af..a22ca67e6fdb07960a2bc8f92e649b588e87adf6 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 {
@@ -105,10 +106,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
« no previous file with comments | « mojo/services/public/interfaces/view_manager/BUILD.gn ('k') | mojo/services/surfaces/surfaces_service_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698