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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2904993003: chromeos: changes how DisplayManagerObservers are notified (Closed)
Patch Set: cleanup Created 3 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
« no previous file with comments | « ash/mus/window_manager.cc ('k') | services/ui/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index 0f659e62266468e10da5befd97b466b33c41d96a..563697d642269a7c7935eb60a23deb00a568ad88 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -280,6 +280,16 @@ interface WindowManagerClient {
uint32 window_id) =>
(cc.mojom.LocalSurfaceId? local_surface_id);
+ // Configures the metrics for the displays and notifies observers. This is
+ // only applicable when WindowTree was created with a value of false for
+ // |automatically_create_display_roots|. This *must* be called after any
+ // display related changes to inform observers, for example, after calling
+ // SetDisplayRoot() this must be called to inform observers of the display
+ // changes.
+ SetDisplayConfiguration(array<display.mojom.Display> displays,
+ array<WmViewportMetrics> viewport_metrics,
+ int64 primary_display_id) => (bool success);
+
// The window manager has completed a request with the specific change id.
WmResponse(uint32 change_id, bool response);
« no previous file with comments | « ash/mus/window_manager.cc ('k') | services/ui/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698