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

Unified Diff: components/mus/ws/window_tree.h

Issue 1766943002: Refators display related functionality into own class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 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 | « components/mus/ws/window_manager_state.cc ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree.h
diff --git a/components/mus/ws/window_tree.h b/components/mus/ws/window_tree.h
index fed9da0f762bfabca4cc62e683aecd1dcc88eff0..5d2b73a9843751ef110512e170a47021694416a5 100644
--- a/components/mus/ws/window_tree.h
+++ b/components/mus/ws/window_tree.h
@@ -34,6 +34,7 @@ namespace ws {
class AccessPolicy;
class ConnectionManager;
+class DisplayManager;
class Display;
class ServerWindow;
class TargetedEvent;
@@ -212,6 +213,9 @@ class WindowTree : public mojom::WindowTree,
EMBED,
};
+ DisplayManager* display_manager();
+ const DisplayManager* display_manager() const;
+
// Used when this tree is the window manager.
Display* GetDisplayForWindowManager();
« no previous file with comments | « components/mus/ws/window_manager_state.cc ('k') | components/mus/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698