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

Unified Diff: third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom

Issue 890843003: Revert of Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom
diff --git a/third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom b/third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom
index 961b783b9783d9eb6d6ee3f9caa0f1b93bbb1603..23238d5d8d57e5ce89ec58b7cfbdcca3e47e31b4 100644
--- a/third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom
+++ b/third_party/mojo_services/src/view_manager/public/interfaces/view_manager.mojom
@@ -35,6 +35,7 @@
// and the lower 16 the id assigned by the client.
//
// The root view is identified with a connection id of 0, and value of 1.
+[Client=ViewManagerClient]
interface ViewManagerService {
// Creates a new view with the specified id. It is up to the client to ensure
// the id is unique to the connection (the id need not be globally unique).
@@ -138,16 +139,14 @@
// Changes to views are not sent to the connection that originated the
// change. For example, if connection 1 changes the bounds of a view by calling
// SetBounds(), connection 1 does not receive OnViewBoundsChanged().
+[Client=ViewManagerService]
interface ViewManagerClient {
// Invoked when the client application has been embedded at |root|.
- // See Embed() on ViewManagerService for more details. |view_manager_service|
- // will be a handle back to the view manager service, unless the connection is
- // to the WindowManager in which case it will be null.
- // |window_manager_pipe| is a pipe to the WindowManager.
+ // See Embed() on ViewManagerService for more details. |window_manager_pipe|
+ // is a pipe to the WindowManager.
OnEmbed(uint16 connection_id,
string embedder_url,
ViewData root,
- ViewManagerService? view_manager_service,
ServiceProvider&? services,
ServiceProvider? exposed_services,
handle<message_pipe> window_manager_pipe);

Powered by Google App Engine
This is Rietveld 408576698