| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 UserState* GetUserState(const service_manager::Identity& remote_identity); | 99 UserState* GetUserState(const service_manager::Identity& remote_identity); |
| 100 | 100 |
| 101 void AddUserIfNecessary(const service_manager::Identity& remote_identity); | 101 void AddUserIfNecessary(const service_manager::Identity& remote_identity); |
| 102 | 102 |
| 103 // service_manager::Service: | 103 // service_manager::Service: |
| 104 void OnStart() override; | 104 void OnStart() override; |
| 105 bool OnConnect(const service_manager::ServiceInfo& remote_info, | 105 bool OnConnect(const service_manager::ServiceInfo& remote_info, |
| 106 service_manager::InterfaceRegistry* registry) override; | 106 service_manager::InterfaceRegistry* registry) override; |
| 107 | 107 |
| 108 // WindowServerDelegate: | 108 // WindowServerDelegate: |
| 109 void StartDisplayInit() override; | 109 void StartDisplayInit(bool window_manager_connected) override; |
| 110 void OnFirstDisplayReady() override; | 110 void OnFirstDisplayReady() override; |
| 111 void OnNoMoreDisplays() override; | 111 void OnNoMoreDisplays() override; |
| 112 bool IsTestConfig() const override; | 112 bool IsTestConfig() const 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 |
| 119 // service_manager::InterfaceFactory<mojom::Clipboard> implementation. | 119 // service_manager::InterfaceFactory<mojom::Clipboard> implementation. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager> | 195 std::unique_ptr<discardable_memory::DiscardableSharedMemoryManager> |
| 196 discardable_shared_memory_manager_; | 196 discardable_shared_memory_manager_; |
| 197 | 197 |
| 198 DISALLOW_COPY_AND_ASSIGN(Service); | 198 DISALLOW_COPY_AND_ASSIGN(Service); |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 } // namespace ui | 201 } // namespace ui |
| 202 | 202 |
| 203 #endif // SERVICES_UI_SERVICE_H_ | 203 #endif // SERVICES_UI_SERVICE_H_ |
| OLD | NEW |