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

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

Issue 267293004: Wires up view manager to an actual display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 7 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 173fa3190b90667fcebf3d63d913bd37d0ce2ea7..1636a6a4c3fea6ed0c650c4752fa8cbb08ae18b0 100644
--- a/mojo/services/public/interfaces/view_manager/view_manager.mojom
+++ b/mojo/services/public/interfaces/view_manager/view_manager.mojom
@@ -53,6 +53,11 @@ interface IViewManager {
// Sets the view a node is showing.
SetView(uint32 node_id, uint32 view_id, uint32 change_id) => (bool success);
+
+ // Shows the specified image (png encoded) in the specified view.
+ SetViewContents(uint32 view_id,
+ handle<shared_buffer> buffer,
+ uint32 buffer_size);
};
[Peer=IViewManager]
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/view_manager_unittests.cc ('k') | mojo/services/view_manager/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698