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

Unified Diff: services/ui/display/screen_manager_delegate.h

Issue 2549503002: Rename PlatformScreen to ScreenManager. (Closed)
Patch Set: Rebase. Created 4 years 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/display/screen_manager.cc ('k') | services/ui/display/screen_manager_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/screen_manager_delegate.h
diff --git a/services/ui/display/platform_screen_delegate.h b/services/ui/display/screen_manager_delegate.h
similarity index 70%
rename from services/ui/display/platform_screen_delegate.h
rename to services/ui/display/screen_manager_delegate.h
index 7ad956df8dc66423ee9e5ea33b7a088e9c3d1e8b..c6ed387300309d04f8837e3093b50a1d49afd426 100644
--- a/services/ui/display/platform_screen_delegate.h
+++ b/services/ui/display/screen_manager_delegate.h
@@ -2,24 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_DELEGATE_H_
-#define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_DELEGATE_H_
+#ifndef SERVICES_UI_DISPLAY_SCREEN_MANAGER_DELEGATE_H_
+#define SERVICES_UI_DISPLAY_SCREEN_MANAGER_DELEGATE_H_
#include <stdint.h>
-namespace gfx {
-class Rect;
-class Size;
-}
-
namespace display {
-class PlatformScreen;
struct ViewportMetrics;
-// The PlatformScreenDelegate will be informed of changes to the physical
-// and/or virtual displays by PlatformScreen.
-class PlatformScreenDelegate {
+// The ScreenManagerDelegate will be informed of changes to the display or
+// screen state by ScreenManager.
+class ScreenManagerDelegate {
public:
// Called when a display is added. |id| is the display id of the new display
// and |metrics| contains display viewport information.
@@ -38,9 +32,9 @@ class PlatformScreenDelegate {
virtual void OnPrimaryDisplayChanged(int64_t primary_display_id) = 0;
protected:
- virtual ~PlatformScreenDelegate() {}
+ virtual ~ScreenManagerDelegate() {}
};
} // namespace display
-#endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_DELEGATE_H_
+#endif // SERVICES_UI_DISPLAY_SCREEN_MANAGER_DELEGATE_H_
« no previous file with comments | « services/ui/display/screen_manager.cc ('k') | services/ui/display/screen_manager_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698