OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SERVICE_H_ | 5 #ifndef SERVICES_UI_SERVICE_H_ |
6 #define SERVICES_UI_SERVICE_H_ | 6 #define SERVICES_UI_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 namespace gfx { | 47 namespace gfx { |
48 class Rect; | 48 class Rect; |
49 } | 49 } |
50 | 50 |
51 namespace shell { | 51 namespace shell { |
52 class Connector; | 52 class Connector; |
53 } | 53 } |
54 | 54 |
55 namespace ui { | 55 namespace ui { |
56 | 56 |
57 class GpuServiceProxy; | |
58 class PlatformEventSource; | 57 class PlatformEventSource; |
59 | 58 |
60 namespace ws { | 59 namespace ws { |
61 class ForwardingWindowManager; | 60 class ForwardingWindowManager; |
62 class WindowServer; | 61 class WindowServer; |
63 } | 62 } |
64 | 63 |
65 class Service | 64 class Service |
66 : public shell::Service, | 65 : public shell::Service, |
67 public ws::WindowServerDelegate, | 66 public ws::WindowServerDelegate, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 UserIdToUserState user_id_to_user_state_; | 168 UserIdToUserState user_id_to_user_state_; |
170 | 169 |
171 // Provides input-device information via Mojo IPC. | 170 // Provides input-device information via Mojo IPC. |
172 InputDeviceServer input_device_server_; | 171 InputDeviceServer input_device_server_; |
173 | 172 |
174 bool test_config_; | 173 bool test_config_; |
175 #if defined(USE_OZONE) | 174 #if defined(USE_OZONE) |
176 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; | 175 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; |
177 #endif | 176 #endif |
178 | 177 |
179 std::unique_ptr<GpuServiceProxy> gpu_proxy_; | |
180 std::unique_ptr<display::PlatformScreen> platform_screen_; | 178 std::unique_ptr<display::PlatformScreen> platform_screen_; |
181 std::unique_ptr<ws::TouchController> touch_controller_; | 179 std::unique_ptr<ws::TouchController> touch_controller_; |
182 IMERegistrarImpl ime_registrar_; | 180 IMERegistrarImpl ime_registrar_; |
183 IMEServerImpl ime_server_; | 181 IMEServerImpl ime_server_; |
184 | 182 |
185 DISALLOW_COPY_AND_ASSIGN(Service); | 183 DISALLOW_COPY_AND_ASSIGN(Service); |
186 }; | 184 }; |
187 | 185 |
188 } // namespace ui | 186 } // namespace ui |
189 | 187 |
190 #endif // SERVICES_UI_SERVICE_H_ | 188 #endif // SERVICES_UI_SERVICE_H_ |
OLD | NEW |