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

Unified Diff: ui/views/mus/screen_mus.h

Issue 1639563003: Renames WindowManagerConfig to FrameDecorationValues and moves to Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 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: ui/views/mus/screen_mus.h
diff --git a/ui/views/mus/screen_mus.h b/ui/views/mus/screen_mus.h
index 16adc16949babdaf5d4348081d2c51b6c247c9a7..981cc728b3cf52acd73ccd908198142340d9eb64 100644
--- a/ui/views/mus/screen_mus.h
+++ b/ui/views/mus/screen_mus.h
@@ -20,12 +20,14 @@ class ApplicationImpl;
namespace views {
+class ScreenMusDelegate;
+
// Screen implementation backed by mus::mojom::DisplayManager.
class VIEWS_MUS_EXPORT ScreenMus
: public gfx::Screen,
public NON_EXPORTED_BASE(mus::mojom::DisplayManagerObserver) {
public:
- ScreenMus();
+ explicit ScreenMus(ScreenMusDelegate* delegate);
~ScreenMus() override;
void Init(mojo::ApplicationImpl* app);
@@ -56,6 +58,7 @@ class VIEWS_MUS_EXPORT ScreenMus
void OnDisplaysChanged(mojo::Array<mus::mojom::DisplayPtr> display) override;
void OnDisplayRemoved(int64_t id) override;
+ ScreenMusDelegate* delegate_;
mus::mojom::DisplayManagerPtr display_manager_;
std::vector<gfx::Display> displays_;
int primary_display_index_;

Powered by Google App Engine
This is Rietveld 408576698