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

Side by Side Diff: services/ui/service.h

Issue 2498073003: Fix GPU service and display initialization race. (Closed)
Patch Set: Make function abstract. Created 4 years, 1 month 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
« no previous file with comments | « no previous file | services/ui/service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 OnFirstDisplayReady() override; 109 void OnFirstDisplayReady() override;
109 void OnNoMoreDisplays() override; 110 void OnNoMoreDisplays() override;
110 bool IsTestConfig() const override; 111 bool IsTestConfig() const override;
111 void UpdateTouchTransforms() override; 112 void UpdateTouchTransforms() override;
112 113
113 // service_manager::InterfaceFactory<mojom::AccessibilityManager> 114 // service_manager::InterfaceFactory<mojom::AccessibilityManager>
114 // implementation. 115 // implementation.
115 void Create(const service_manager::Identity& remote_identity, 116 void Create(const service_manager::Identity& remote_identity,
116 mojom::AccessibilityManagerRequest request) override; 117 mojom::AccessibilityManagerRequest request) override;
117 118
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 std::unique_ptr<ws::TouchController> touch_controller_; 186 std::unique_ptr<ws::TouchController> touch_controller_;
186 IMERegistrarImpl ime_registrar_; 187 IMERegistrarImpl ime_registrar_;
187 IMEServerImpl ime_server_; 188 IMEServerImpl ime_server_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(Service); 190 DISALLOW_COPY_AND_ASSIGN(Service);
190 }; 191 };
191 192
192 } // namespace ui 193 } // namespace ui
193 194
194 #endif // SERVICES_UI_SERVICE_H_ 195 #endif // SERVICES_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698