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

Side by Side Diff: components/mus/mus_app.h

Issue 2058853002: Enable InputDeviceServer/InputDeviceClient in mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_device
Patch Set: Check for DDM existence. Created 4 years, 6 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 | « components/mus/manifest.json ('k') | components/mus/mus_app.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 COMPONENTS_MUS_MUS_APP_H_ 5 #ifndef COMPONENTS_MUS_MUS_APP_H_
6 #define COMPONENTS_MUS_MUS_APP_H_ 6 #define COMPONENTS_MUS_MUS_APP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map>
10 #include <memory> 11 #include <memory>
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "components/mus/input_devices/input_device_server.h"
16 #include "components/mus/public/interfaces/clipboard.mojom.h" 18 #include "components/mus/public/interfaces/clipboard.mojom.h"
17 #include "components/mus/public/interfaces/display.mojom.h" 19 #include "components/mus/public/interfaces/display.mojom.h"
18 #include "components/mus/public/interfaces/gpu.mojom.h" 20 #include "components/mus/public/interfaces/gpu.mojom.h"
19 #include "components/mus/public/interfaces/gpu_service.mojom.h" 21 #include "components/mus/public/interfaces/gpu_service.mojom.h"
20 #include "components/mus/public/interfaces/user_access_manager.mojom.h" 22 #include "components/mus/public/interfaces/user_access_manager.mojom.h"
21 #include "components/mus/public/interfaces/window_manager_factory.mojom.h" 23 #include "components/mus/public/interfaces/window_manager_factory.mojom.h"
22 #include "components/mus/public/interfaces/window_server_test.mojom.h" 24 #include "components/mus/public/interfaces/window_server_test.mojom.h"
23 #include "components/mus/public/interfaces/window_tree.mojom.h" 25 #include "components/mus/public/interfaces/window_tree.mojom.h"
24 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 26 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
25 #include "components/mus/ws/platform_display_init_params.h" 27 #include "components/mus/ws/platform_display_init_params.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 145
144 ws::PlatformDisplayInitParams platform_display_init_params_; 146 ws::PlatformDisplayInitParams platform_display_init_params_;
145 std::unique_ptr<ws::WindowServer> window_server_; 147 std::unique_ptr<ws::WindowServer> window_server_;
146 std::unique_ptr<ui::PlatformEventSource> event_source_; 148 std::unique_ptr<ui::PlatformEventSource> event_source_;
147 mojo::TracingImpl tracing_; 149 mojo::TracingImpl tracing_;
148 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>; 150 using PendingRequests = std::vector<std::unique_ptr<PendingRequest>>;
149 PendingRequests pending_requests_; 151 PendingRequests pending_requests_;
150 152
151 UserIdToUserState user_id_to_user_state_; 153 UserIdToUserState user_id_to_user_state_;
152 154
155 // Provides input-device information via Mojo IPC.
156 InputDeviceServer input_device_server_;
157
153 bool test_config_; 158 bool test_config_;
154 bool use_chrome_gpu_command_buffer_; 159 bool use_chrome_gpu_command_buffer_;
155 #if defined(USE_OZONE) 160 #if defined(USE_OZONE)
156 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; 161 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
157 #endif 162 #endif
158 163
159 std::unique_ptr<ws::PlatformScreen> platform_screen_; 164 std::unique_ptr<ws::PlatformScreen> platform_screen_;
160 165
161 base::WeakPtrFactory<MusApp> weak_ptr_factory_; 166 base::WeakPtrFactory<MusApp> weak_ptr_factory_;
162 167
163 DISALLOW_COPY_AND_ASSIGN(MusApp); 168 DISALLOW_COPY_AND_ASSIGN(MusApp);
164 }; 169 };
165 170
166 } // namespace mus 171 } // namespace mus
167 172
168 #endif // COMPONENTS_MUS_MUS_APP_H_ 173 #endif // COMPONENTS_MUS_MUS_APP_H_
OLDNEW
« no previous file with comments | « components/mus/manifest.json ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698