| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 93 |
| 94 // Returns the user specific state for the user id of |remote_identity|. | 94 // Returns the user specific state for the user id of |remote_identity|. |
| 95 // Service owns the return value. | 95 // Service owns the return value. |
| 96 // TODO(sky): if we allow removal of user ids then we need to close anything | 96 // TODO(sky): if we allow removal of user ids then we need to close anything |
| 97 // associated with the user (all incoming pipes...) on removal. | 97 // associated with the user (all incoming pipes...) on removal. |
| 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(service_manager::ServiceContext* context) 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 OnFirstDisplayReady() override; | 108 void OnFirstDisplayReady() override; |
| 109 void OnNoMoreDisplays() override; | 109 void OnNoMoreDisplays() override; |
| 110 bool IsTestConfig() const override; | 110 bool IsTestConfig() const override; |
| 111 void UpdateTouchTransforms() override; | 111 void UpdateTouchTransforms() override; |
| 112 | 112 |
| 113 // service_manager::InterfaceFactory<mojom::AccessibilityManager> | 113 // service_manager::InterfaceFactory<mojom::AccessibilityManager> |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 std::unique_ptr<ws::TouchController> touch_controller_; | 185 std::unique_ptr<ws::TouchController> touch_controller_; |
| 186 IMERegistrarImpl ime_registrar_; | 186 IMERegistrarImpl ime_registrar_; |
| 187 IMEServerImpl ime_server_; | 187 IMEServerImpl ime_server_; |
| 188 | 188 |
| 189 DISALLOW_COPY_AND_ASSIGN(Service); | 189 DISALLOW_COPY_AND_ASSIGN(Service); |
| 190 }; | 190 }; |
| 191 | 191 |
| 192 } // namespace ui | 192 } // namespace ui |
| 193 | 193 |
| 194 #endif // SERVICES_UI_SERVICE_H_ | 194 #endif // SERVICES_UI_SERVICE_H_ |
| OLD | NEW |