Chromium Code Reviews| 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 61% |
| rename from services/ui/display/platform_screen_impl.h |
| rename to services/ui/display/platform_screen_stub.h |
| index 62bac21f2b098dbfe8063307827111e228e03168..c85061521daac7808a5e41da2a8036c856e9ac2e 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 |
| +// PlatformScreenStub provides the necessary functionality to configure all |
|
msw
2016/09/07 15:29:50
q: Is this accurate?
kylechar
2016/09/07 15:34:33
Not even remotely. I've update the comment to refl
|
| // attached physical displays on non-ozone platforms. |
| -class PlatformScreenImpl : public PlatformScreen { |
| +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_ |