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

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

Issue 1899923002: Basic display management for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromecast build 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
« no previous file with comments | « components/mus/ws/platform_screen.h ('k') | components/mus/ws/platform_screen_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/platform_screen_impl.h
diff --git a/components/mus/ws/platform_screen_impl.h b/components/mus/ws/platform_screen_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..166bff771b464bd8e1311e3f6fc5d15183976dc1
--- /dev/null
+++ b/components/mus/ws/platform_screen_impl.h
@@ -0,0 +1,39 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_
+#define COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_
+
+#include <stdint.h>
+
+#include "base/callback.h"
+#include "components/mus/ws/platform_screen.h"
+
+namespace gfx {
+class Rect;
+}
+
+namespace mus {
+namespace ws {
+
+// PlatformScreenImpl provides the necessary functionality to configure all
+// attached physical displays on non-ozone platforms.
+class PlatformScreenImpl : public PlatformScreen {
+ public:
+ PlatformScreenImpl();
+ ~PlatformScreenImpl() override;
+
+ private:
+ // PlatformScreen.
+ void Init() override;
+ void ConfigurePhysicalDisplay(
+ const PlatformScreen::ConfiguredDisplayCallback& callback) override;
+
+ DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl);
+};
+
+} // namespace ws
+} // namespace mus
+
+#endif // COMPONENTS_MUS_WS_PLATFORM_SCREEN_IMPL_H_
« no previous file with comments | « components/mus/ws/platform_screen.h ('k') | components/mus/ws/platform_screen_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698