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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 UserState* GetUserState(const service_manager::Identity& remote_identity); | 98 UserState* GetUserState(const service_manager::Identity& remote_identity); |
99 | 99 |
100 void AddUserIfNecessary(const service_manager::Identity& remote_identity); | 100 void AddUserIfNecessary(const service_manager::Identity& remote_identity); |
101 | 101 |
102 // service_manager::Service: | 102 // service_manager::Service: |
103 void OnStart() override; | 103 void OnStart() override; |
104 bool OnConnect(const service_manager::ServiceInfo& remote_info, | 104 bool OnConnect(const service_manager::ServiceInfo& remote_info, |
105 service_manager::InterfaceRegistry* registry) override; | 105 service_manager::InterfaceRegistry* registry) override; |
106 | 106 |
107 // WindowServerDelegate: | 107 // WindowServerDelegate: |
108 void StartDisplayInit() override; | 108 void StartDisplayInit(bool window_manager_connected) override; |
109 void OnFirstDisplayReady() override; | 109 void OnFirstDisplayReady() override; |
110 void OnNoMoreDisplays() override; | 110 void OnNoMoreDisplays() override; |
111 bool IsTestConfig() const override; | 111 bool IsTestConfig() const override; |
112 void UpdateTouchTransforms() override; | 112 void UpdateTouchTransforms() override; |
113 | 113 |
114 // service_manager::InterfaceFactory<mojom::AccessibilityManager> | 114 // service_manager::InterfaceFactory<mojom::AccessibilityManager> |
115 // implementation. | 115 // implementation. |
116 void Create(const service_manager::Identity& remote_identity, | 116 void Create(const service_manager::Identity& remote_identity, |
117 mojom::AccessibilityManagerRequest request) override; | 117 mojom::AccessibilityManagerRequest request) override; |
118 | 118 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 std::unique_ptr<ws::TouchController> touch_controller_; | 186 std::unique_ptr<ws::TouchController> touch_controller_; |
187 IMERegistrarImpl ime_registrar_; | 187 IMERegistrarImpl ime_registrar_; |
188 IMEServerImpl ime_server_; | 188 IMEServerImpl ime_server_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(Service); | 190 DISALLOW_COPY_AND_ASSIGN(Service); |
191 }; | 191 }; |
192 | 192 |
193 } // namespace ui | 193 } // namespace ui |
194 | 194 |
195 #endif // SERVICES_UI_SERVICE_H_ | 195 #endif // SERVICES_UI_SERVICE_H_ |
OLD | NEW |