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

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

Issue 883843002: Update mojo sdk to rev 126532ce21c5c3c55a1e1693731411cb60169efd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review 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 55552f8cb06e8e2e799045ed2b98823a17db1448..23238d5d8d57e5ce89ec58b7cfbdcca3e47e31b4 100644
--- a/mojo/services/view_manager/public/interfaces/view_manager.mojom
+++ b/mojo/services/view_manager/public/interfaces/view_manager.mojom
@@ -159,6 +159,11 @@ interface ViewManagerClient {
mojo.Rect old_bounds,
mojo.Rect new_bounds);
+ // Invoked when the viewport metrics for the view have changed.
+ // Clients are expected to propagate this to the view tree.
+ OnViewViewportMetricsChanged(mojo.ViewportMetrics old_metrics,
+ mojo.ViewportMetrics new_metrics);
+
// Invoked when a change is done to the hierarchy. A value of 0 is used to
// identify a null view. For example, if the old_parent is NULL, 0 is
// supplied.
@@ -173,7 +178,7 @@ interface ViewManagerClient {
// Invoked when the order of views within a parent changes.
OnViewReordered(uint32 view_id,
uint32 relative_view_id,
- OrderDirection direction);
+ OrderDirection direction);
// Invoked when a view is deleted.
OnViewDeleted(uint32 view);
« no previous file with comments | « mojo/services/view_manager/public/cpp/view_observer.h ('k') | third_party/mojo/src/mojo/edk/embedder/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698