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

Unified Diff: ui/aura/mus/window_manager_delegate.h

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 | « services/ui/ws/window_tree_unittest.cc ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_manager_delegate.h
diff --git a/ui/aura/mus/window_manager_delegate.h b/ui/aura/mus/window_manager_delegate.h
index e1876e568a8db464dd6332d4987bedacab7d4a66..8ba30ad21fbf8c663eb0257fb78c9bff0c2baa6a 100644
--- a/ui/aura/mus/window_manager_delegate.h
+++ b/ui/aura/mus/window_manager_delegate.h
@@ -91,6 +91,13 @@ class AURA_EXPORT WindowManagerClient {
// DisplayInitParams on the returned object.
virtual WindowTreeHostMusInitParams CreateInitParamsForNewDisplay() = 0;
+ // Configures the displays. This is used when the window manager manually
+ // configures display roots.
+ virtual void SetDisplayConfiguration(
+ const std::vector<display::Display>& displays,
+ std::vector<ui::mojom::WmViewportMetricsPtr> viewport_metrics,
+ int64_t primary_display_id) = 0;
+
protected:
virtual ~WindowManagerClient() {}
};
« no previous file with comments | « services/ui/ws/window_tree_unittest.cc ('k') | ui/aura/mus/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698