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

Side by Side Diff: services/ui/display/platform_screen_impl_ozone.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
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_OZONE_H_ 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_
6 #define SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_ 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "services/ui/ws/platform_screen.h" 14 #include "services/ui/display/platform_screen.h"
15 #include "ui/display/chromeos/display_configurator.h" 15 #include "ui/display/chromeos/display_configurator.h"
16 16
17 namespace ui { 17 namespace ui {
18 namespace ws { 18 namespace display {
19 19
20 // PlatformScreenImplOzone provides the necessary functionality to configure all 20 // PlatformScreenImplOzone provides the necessary functionality to configure all
21 // attached physical displays on the ozone platform. 21 // attached physical displays on the ozone platform.
22 class PlatformScreenImplOzone : public PlatformScreen, 22 class PlatformScreenImplOzone : public PlatformScreen,
23 public ui::DisplayConfigurator::Observer { 23 public ui::DisplayConfigurator::Observer {
24 public: 24 public:
25 PlatformScreenImplOzone(); 25 PlatformScreenImplOzone();
26 ~PlatformScreenImplOzone() override; 26 ~PlatformScreenImplOzone() override;
27 27
28 private: 28 private:
(...skipping 11 matching lines...) Expand all
40 MultipleDisplayState failed_new_state) override; 40 MultipleDisplayState failed_new_state) override;
41 41
42 ui::DisplayConfigurator display_configurator_; 42 ui::DisplayConfigurator display_configurator_;
43 43
44 // Callback to called when new displays are configured. 44 // Callback to called when new displays are configured.
45 ConfiguredDisplayCallback callback_; 45 ConfiguredDisplayCallback callback_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone); 47 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone);
48 }; 48 };
49 49
50 } // namespace ws 50 } // namespace display
51 } // namespace ui 51 } // namespace ui
52 52
53 #endif // SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_ 53 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_OZONE_H_
OLDNEW
« no previous file with comments | « services/ui/display/platform_screen_impl.cc ('k') | services/ui/display/platform_screen_impl_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698