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

Side by Side Diff: mojo/services/public/interfaces/view_manager/view_manager.mojom

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo; 5 module mojo;
6 6
7 import "mojo/public/interfaces/application/service_provider.mojom"; 7 import "mojo/public/interfaces/application/service_provider.mojom";
8 import "mojo/services/public/interfaces/geometry/geometry.mojom"; 8 import "mojo/services/public/interfaces/geometry/geometry.mojom";
9 import "mojo/services/public/interfaces/input_events/input_events.mojom"; 9 import "mojo/services/public/interfaces/input_events/input_events.mojom";
10 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; 10 import "mojo/services/public/interfaces/surfaces/surface_id.mojom";
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // connection. 123 // connection.
124 // 124 //
125 // |service_provider| encapsulates services offered by the embedder to the 125 // |service_provider| encapsulates services offered by the embedder to the
126 // embedded app alongside this Embed() call. It also provides a means for 126 // embedded app alongside this Embed() call. It also provides a means for
127 // the embedder to connect to services symmetrically exposed by the embedded 127 // the embedder to connect to services symmetrically exposed by the embedded
128 // app. Note that if a different app is subsequently embedded at |view_id| 128 // app. Note that if a different app is subsequently embedded at |view_id|
129 // the |service_provider|'s connection to its client in the embedded app and 129 // the |service_provider|'s connection to its client in the embedded app and
130 // any services it provided are not broken and continue to be valid. 130 // any services it provided are not broken and continue to be valid.
131 Embed(string url, 131 Embed(string url,
132 uint32 view_id, 132 uint32 view_id,
133 ServiceProvider? service_provider) => (bool success); 133 ServiceProvider&? service_provider) => (bool success);
134 }; 134 };
135 135
136 // Changes to views are not sent to the connection that originated the 136 // Changes to views are not sent to the connection that originated the
137 // change. For example, if connection 1 changes the bounds of a view by calling 137 // change. For example, if connection 1 changes the bounds of a view by calling
138 // SetBounds(), connection 1 does not receive OnViewBoundsChanged(). 138 // SetBounds(), connection 1 does not receive OnViewBoundsChanged().
139 [Client=ViewManagerService] 139 [Client=ViewManagerService]
140 interface ViewManagerClient { 140 interface ViewManagerClient {
141 // Invoked when the client application has been embedded at |root|. 141 // Invoked when the client application has been embedded at |root|.
142 // See Embed() on ViewManagerService for more details. |window_manager_pipe| 142 // See Embed() on ViewManagerService for more details. |window_manager_pipe|
143 // is a pipe to the WindowManager. 143 // is a pipe to the WindowManager.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked. 189 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked.
190 OnViewDrawnStateChanged(uint32 view, bool drawn); 190 OnViewDrawnStateChanged(uint32 view, bool drawn);
191 191
192 // Invoked when a view property is changed. If this change is a removal, 192 // Invoked when a view property is changed. If this change is a removal,
193 // |new_data| is null. 193 // |new_data| is null.
194 OnViewPropertyChanged(uint32 view, string name, array<uint8>? new_data); 194 OnViewPropertyChanged(uint32 view, string name, array<uint8>? new_data);
195 195
196 // Invoked when an event is targeted at the specified view. 196 // Invoked when an event is targeted at the specified view.
197 OnViewInputEvent(uint32 view, mojo.Event event) => (); 197 OnViewInputEvent(uint32 view, mojo.Event event) => ();
198 }; 198 };
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/view_manager/BUILD.gn ('k') | mojo/services/public/interfaces/window_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698