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

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

Issue 2176303002: services/ui: Remove deprecated gpu code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 4 months 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 | « services/ui/public/cpp/raster_thread_helper.h ('k') | 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 class ForwardingWindowManager; 61 class ForwardingWindowManager;
62 class WindowServer; 62 class WindowServer;
63 } 63 }
64 64
65 class Service 65 class Service
66 : public shell::Service, 66 : public shell::Service,
67 public ws::WindowServerDelegate, 67 public ws::WindowServerDelegate,
68 public shell::InterfaceFactory<mojom::AccessibilityManager>, 68 public shell::InterfaceFactory<mojom::AccessibilityManager>,
69 public shell::InterfaceFactory<mojom::Clipboard>, 69 public shell::InterfaceFactory<mojom::Clipboard>,
70 public shell::InterfaceFactory<mojom::DisplayManager>, 70 public shell::InterfaceFactory<mojom::DisplayManager>,
71 public shell::InterfaceFactory<mojom::Gpu>,
72 public shell::InterfaceFactory<mojom::GpuService>, 71 public shell::InterfaceFactory<mojom::GpuService>,
73 public shell::InterfaceFactory<mojom::UserAccessManager>, 72 public shell::InterfaceFactory<mojom::UserAccessManager>,
74 public shell::InterfaceFactory<mojom::UserActivityMonitor>, 73 public shell::InterfaceFactory<mojom::UserActivityMonitor>,
75 public shell::InterfaceFactory<mojom::WindowManagerWindowTreeFactory>, 74 public shell::InterfaceFactory<mojom::WindowManagerWindowTreeFactory>,
76 public shell::InterfaceFactory<mojom::WindowTreeFactory>, 75 public shell::InterfaceFactory<mojom::WindowTreeFactory>,
77 public shell::InterfaceFactory<mojom::WindowTreeHostFactory>, 76 public shell::InterfaceFactory<mojom::WindowTreeHostFactory>,
78 public shell::InterfaceFactory<mojom::WindowServerTest> { 77 public shell::InterfaceFactory<mojom::WindowServerTest> {
79 public: 78 public:
80 Service(); 79 Service();
81 ~Service() override; 80 ~Service() override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 mojom::AccessibilityManagerRequest request) override; 112 mojom::AccessibilityManagerRequest request) override;
114 113
115 // shell::InterfaceFactory<mojom::Clipboard> implementation. 114 // shell::InterfaceFactory<mojom::Clipboard> implementation.
116 void Create(const shell::Identity& remote_identity, 115 void Create(const shell::Identity& remote_identity,
117 mojom::ClipboardRequest request) override; 116 mojom::ClipboardRequest request) override;
118 117
119 // shell::InterfaceFactory<mojom::DisplayManager> implementation. 118 // shell::InterfaceFactory<mojom::DisplayManager> implementation.
120 void Create(const shell::Identity& remote_identity, 119 void Create(const shell::Identity& remote_identity,
121 mojom::DisplayManagerRequest request) override; 120 mojom::DisplayManagerRequest request) override;
122 121
123 // shell::InterfaceFactory<mojom::Gpu> implementation.
124 void Create(const shell::Identity& remote_identity,
125 mojom::GpuRequest request) override;
126
127 // shell::InterfaceFactory<mojom::GpuService> implementation. 122 // shell::InterfaceFactory<mojom::GpuService> implementation.
128 void Create(const shell::Identity& remote_identity, 123 void Create(const shell::Identity& remote_identity,
129 mojom::GpuServiceRequest request) override; 124 mojom::GpuServiceRequest request) override;
130 125
131 // shell::InterfaceFactory<mojom::UserAccessManager> implementation. 126 // shell::InterfaceFactory<mojom::UserAccessManager> implementation.
132 void Create(const shell::Identity& remote_identity, 127 void Create(const shell::Identity& remote_identity,
133 mojom::UserAccessManagerRequest request) override; 128 mojom::UserAccessManagerRequest request) override;
134 129
135 // shell::InterfaceFactory<mojom::UserActivityMonitor> implementation. 130 // shell::InterfaceFactory<mojom::UserActivityMonitor> implementation.
136 void Create(const shell::Identity& remote_identity, 131 void Create(const shell::Identity& remote_identity,
(...skipping 28 matching lines...) Expand all
165 mojo::TracingImpl tracing_; 160 mojo::TracingImpl tracing_;
166 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>; 161 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>;
167 PendingRequests pending_requests_; 162 PendingRequests pending_requests_;
168 163
169 UserIdToUserState user_id_to_user_state_; 164 UserIdToUserState user_id_to_user_state_;
170 165
171 // Provides input-device information via Mojo IPC. 166 // Provides input-device information via Mojo IPC.
172 InputDeviceServer input_device_server_; 167 InputDeviceServer input_device_server_;
173 168
174 bool test_config_; 169 bool test_config_;
175 bool use_chrome_gpu_command_buffer_;
176 #if defined(USE_OZONE) 170 #if defined(USE_OZONE)
177 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; 171 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
178 #endif 172 #endif
179 173
180 std::unique_ptr<display::PlatformScreen> platform_screen_; 174 std::unique_ptr<display::PlatformScreen> platform_screen_;
181 std::unique_ptr<ws::TouchController> touch_controller_; 175 std::unique_ptr<ws::TouchController> touch_controller_;
182 176
183 base::WeakPtrFactory<Service> weak_ptr_factory_; 177 base::WeakPtrFactory<Service> weak_ptr_factory_;
184 178
185 DISALLOW_COPY_AND_ASSIGN(Service); 179 DISALLOW_COPY_AND_ASSIGN(Service);
186 }; 180 };
187 181
188 } // namespace ui 182 } // namespace ui
189 183
190 #endif // SERVICES_UI_SERVICE_H_ 184 #endif // SERVICES_UI_SERVICE_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/raster_thread_helper.h ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698