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

Unified Diff: services/ui/ws/platform_screen.h

Issue 2121053002: Have PlatformScreen use DisplayConfigurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast for real. Created 4 years, 5 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/BUILD.gn ('k') | services/ui/ws/platform_screen_impl_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_screen.h
diff --git a/services/ui/ws/platform_screen.h b/services/ui/ws/platform_screen.h
index 3ed27930186b397f0a0d474e16d212e87e892be8..075dc2596a77cfa9b84fbd317679ba3af45a0242 100644
--- a/services/ui/ws/platform_screen.h
+++ b/services/ui/ws/platform_screen.h
@@ -20,6 +20,9 @@ namespace ws {
// attached physical displays.
class PlatformScreen {
public:
+ using ConfiguredDisplayCallback =
+ base::Callback<void(int64_t, const gfx::Rect&)>;
+
virtual ~PlatformScreen() {}
// Creates a PlatformScreen instance.
@@ -28,9 +31,6 @@ class PlatformScreen {
// Initializes platform specific screen resources.
virtual void Init() = 0;
- using ConfiguredDisplayCallback =
- base::Callback<void(int64_t, const gfx::Rect&)>;
-
// ConfigurePhysicalDisplay() configures a single physical display and returns
// its id and bounds for it via |callback|.
virtual void ConfigurePhysicalDisplay(
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/platform_screen_impl_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698