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

Side by Side Diff: services/ui/display/platform_screen_impl.h

Issue 2128333002: Move PlatformSceen to services/ui/display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « services/ui/display/platform_screen.h ('k') | services/ui/display/platform_screen_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
6 #define SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "services/ui/ws/platform_screen.h" 11 #include "services/ui/display/platform_screen.h"
12
13 namespace gfx {
14 class Rect;
15 }
16 12
17 namespace ui { 13 namespace ui {
18 namespace ws { 14 namespace display {
19 15
20 // PlatformScreenImpl provides the necessary functionality to configure all 16 // PlatformScreenImpl provides the necessary functionality to configure all
21 // attached physical displays on non-ozone platforms. 17 // attached physical displays on non-ozone platforms.
22 class PlatformScreenImpl : public PlatformScreen { 18 class PlatformScreenImpl : public PlatformScreen {
23 public: 19 public:
24 PlatformScreenImpl(); 20 PlatformScreenImpl();
25 ~PlatformScreenImpl() override; 21 ~PlatformScreenImpl() override;
26 22
27 private: 23 private:
28 // PlatformScreen. 24 // PlatformScreen.
29 void Init() override; 25 void Init() override;
30 void ConfigurePhysicalDisplay( 26 void ConfigurePhysicalDisplay(
31 const PlatformScreen::ConfiguredDisplayCallback& callback) override; 27 const PlatformScreen::ConfiguredDisplayCallback& callback) override;
32 28
33 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl); 29 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl);
34 }; 30 };
35 31
36 } // namespace ws 32 } // namespace display
37 } // namespace ui 33 } // namespace ui
38 34
39 #endif // SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_H_ 35 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/display/platform_screen.h ('k') | services/ui/display/platform_screen_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698