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

Side by Side Diff: services/ui/ws/window_server_delegate.h

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Removing debug include. Created 3 years, 5 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/ws/window_server.cc ('k') | ui/events/devices/input_device_manager.h » ('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_WS_WINDOW_SERVER_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "mojo/public/cpp/bindings/interface_request.h" 13 #include "mojo/public/cpp/bindings/interface_request.h"
14 #include "services/ui/common/types.h" 14 #include "services/ui/common/types.h"
15 #include "services/ui/public/interfaces/window_tree.mojom.h" 15 #include "services/ui/public/interfaces/window_tree.mojom.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 namespace mojom { 19 namespace mojom {
20 class WindowTree; 20 class WindowTree;
21 } 21 }
22 22
23 namespace ws { 23 namespace ws {
24 24
25 class Display; 25 class Display;
26 class ThreadedImageCursorsFactory;
26 class WindowServer; 27 class WindowServer;
27 class WindowTree; 28 class WindowTree;
28 class WindowTreeBinding; 29 class WindowTreeBinding;
29 30
30 class WindowServerDelegate { 31 class WindowServerDelegate {
31 public: 32 public:
32 enum BindingType { 33 enum BindingType {
33 EMBED, 34 EMBED,
34 WINDOW_MANAGER, 35 WINDOW_MANAGER,
35 }; 36 };
(...skipping 16 matching lines...) Expand all
52 ws::WindowTree* tree, 53 ws::WindowTree* tree,
53 mojom::WindowTreeRequest* tree_request, 54 mojom::WindowTreeRequest* tree_request,
54 mojom::WindowTreeClientPtr* client); 55 mojom::WindowTreeClientPtr* client);
55 56
56 // Called prior to a new WindowTree being created for a 57 // Called prior to a new WindowTree being created for a
57 // WindowManagerWindowTreeFactory. |automatically_create_display_roots| 58 // WindowManagerWindowTreeFactory. |automatically_create_display_roots|
58 // mirrors that of CreateWindowTree(). See it for details. 59 // mirrors that of CreateWindowTree(). See it for details.
59 virtual void OnWillCreateTreeForWindowManager( 60 virtual void OnWillCreateTreeForWindowManager(
60 bool automatically_create_display_roots) = 0; 61 bool automatically_create_display_roots) = 0;
61 62
63 virtual ThreadedImageCursorsFactory* GetThreadedImageCursorsFactory() = 0;
64
62 protected: 65 protected:
63 virtual ~WindowServerDelegate() {} 66 virtual ~WindowServerDelegate() {}
64 }; 67 };
65 68
66 } // namespace ws 69 } // namespace ws
67 } // namespace ui 70 } // namespace ui
68 71
69 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ 72 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_server.cc ('k') | ui/events/devices/input_device_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698