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

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

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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/view_manager/public/interfaces/view_manager.mojom
diff --git a/mojo/services/view_manager/public/interfaces/view_manager.mojom b/mojo/services/view_manager/public/interfaces/view_manager.mojom
index 706849dc8de09f53c92d937881f18404403f97ef..05ec857d1329daaac3d11889b828f613ca945b43 100644
--- a/mojo/services/view_manager/public/interfaces/view_manager.mojom
+++ b/mojo/services/view_manager/public/interfaces/view_manager.mojom
@@ -4,11 +4,12 @@
module mojo;
+import "../../../geometry/public/interfaces/geometry.mojom";
+import "../../../input_events/public/interfaces/input_events.mojom";
+import "../../../native_viewport/public/interfaces/native_viewport.mojom";
+import "../../../surfaces/public/interfaces/surface_id.mojom";
import "mojo/public/interfaces/application/service_provider.mojom";
-import "mojo/services/geometry/public/interfaces/geometry.mojom";
-import "mojo/services/input_events/public/interfaces/input_events.mojom";
-import "mojo/services/surfaces/public/interfaces/surface_id.mojom";
-import "mojo/services/view_manager/public/interfaces/view_manager_constants.mojom";
+import "view_manager_constants.mojom";
struct ViewData {
uint32 parent_id;
@@ -21,6 +22,7 @@ struct ViewData {
// True if this view is drawn on screen. A view is drawn if attached to the
// root and all ancestors (including this view) are visible.
bool drawn;
+ ViewportMetrics viewport_metrics;
};
enum ErrorCode {
@@ -130,7 +132,7 @@ interface ViewManagerService {
// any services it provided are not broken and continue to be valid.
Embed(string url,
uint32 view_id,
- ServiceProvider&? service_provider) => (bool success);
+ ServiceProvider& service_provider) => (bool success);
};
// Changes to views are not sent to the connection that originated the
@@ -144,7 +146,7 @@ interface ViewManagerClient {
OnEmbed(uint16 connection_id,
string embedder_url,
ViewData root,
- ServiceProvider&? parent_service_provider,
+ ServiceProvider& parent_service_provider,
handle<message_pipe> window_manager_pipe);
// Invoked when the application embedded at |view| is disconnected.
« no previous file with comments | « mojo/services/view_manager/public/interfaces/animations.mojom ('k') | mojo/services/window_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698