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

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

Issue 2317073003: Rename PlatformScreen implementations. (Closed)
Patch Set: Fix tests. Created 4 years, 3 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/display/platform_screen_ozone_unittests.cc ('k') | services/ui/display/platform_screen_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/platform_screen_stub.h
diff --git a/services/ui/display/platform_screen_impl.h b/services/ui/display/platform_screen_stub.h
similarity index 55%
rename from services/ui/display/platform_screen_impl.h
rename to services/ui/display/platform_screen_stub.h
index 62bac21f2b098dbfe8063307827111e228e03168..19f11a726954dd60bed8fe81ce76cc14453ed0e7 100644
--- a/services/ui/display/platform_screen_impl.h
+++ b/services/ui/display/platform_screen_stub.h
@@ -2,8 +2,8 @@
// 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_IMPL_H_
-#define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
+#ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_STUB_H_
+#define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_STUB_H_
#include <stdint.h>
@@ -13,12 +13,12 @@
namespace display {
-// PlatformScreenImpl provides the necessary functionality to configure all
-// attached physical displays on non-ozone platforms.
-class PlatformScreenImpl : public PlatformScreen {
+// PlatformScreenStub provides the necessary functionality to configure a fixed
+// 1024x768 display for non-ozone platforms.
+class PlatformScreenStub : public PlatformScreen {
public:
- PlatformScreenImpl();
- ~PlatformScreenImpl() override;
+ PlatformScreenStub();
+ ~PlatformScreenStub() override;
private:
// Fake creation of a single 1024x768 display.
@@ -30,11 +30,11 @@ class PlatformScreenImpl : public PlatformScreen {
PlatformScreenDelegate* delegate_ = nullptr;
- base::WeakPtrFactory<PlatformScreenImpl> weak_ptr_factory_;
+ base::WeakPtrFactory<PlatformScreenStub> weak_ptr_factory_;
- DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl);
+ DISALLOW_COPY_AND_ASSIGN(PlatformScreenStub);
};
} // namespace display
-#endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
+#endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_STUB_H_
« no previous file with comments | « services/ui/display/platform_screen_ozone_unittests.cc ('k') | services/ui/display/platform_screen_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698