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

Unified Diff: mash/wm/root_window_controller.h

Issue 1954933002: Initial cut of ash/wm/common classes for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WmWindowMus::GetGlobals Created 4 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
Index: mash/wm/root_window_controller.h
diff --git a/mash/wm/root_window_controller.h b/mash/wm/root_window_controller.h
index 7edece87a497f21840b801d8545ce0192dc1f7d1..516896ac55e1b68df5f697a1aa1bd96fee131ce1 100644
--- a/mash/wm/root_window_controller.h
+++ b/mash/wm/root_window_controller.h
@@ -13,6 +13,7 @@
#include "components/mus/public/interfaces/window_tree_host.mojom.h"
#include "mash/wm/public/interfaces/container.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
+#include "ui/gfx/display.h"
namespace mus {
class WindowManagerClient;
@@ -66,6 +67,8 @@ class RootWindowController : public mus::WindowObserver,
void OnAccelerator(uint32_t id, const ui::Event& event);
+ const gfx::Display& display() const { return display_; }
+
ShelfLayout* GetShelfLayoutManager();
private:
@@ -97,7 +100,7 @@ class RootWindowController : public mus::WindowObserver,
std::unique_ptr<ShadowController> shadow_controller_;
- mus::mojom::DisplayPtr display_;
+ gfx::Display display_;
DISALLOW_COPY_AND_ASSIGN(RootWindowController);
};

Powered by Google App Engine
This is Rietveld 408576698