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

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

Issue 2342003003: [WIP] Mus: Pass the mojo connector to OzonePlatform::InitializeForGPU (Closed)
Patch Set: Created 4 years, 3 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/gpu_service_proxy.cc ('k') | services/ui/ws/window_server.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_WS_WINDOW_SERVER_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 13 matching lines...) Expand all
24 #include "services/ui/ws/gpu_service_proxy_delegate.h" 24 #include "services/ui/ws/gpu_service_proxy_delegate.h"
25 #include "services/ui/ws/ids.h" 25 #include "services/ui/ws/ids.h"
26 #include "services/ui/ws/operation.h" 26 #include "services/ui/ws/operation.h"
27 #include "services/ui/ws/server_window_delegate.h" 27 #include "services/ui/ws/server_window_delegate.h"
28 #include "services/ui/ws/server_window_observer.h" 28 #include "services/ui/ws/server_window_observer.h"
29 #include "services/ui/ws/user_display_manager_delegate.h" 29 #include "services/ui/ws/user_display_manager_delegate.h"
30 #include "services/ui/ws/user_id_tracker.h" 30 #include "services/ui/ws/user_id_tracker.h"
31 #include "services/ui/ws/user_id_tracker_observer.h" 31 #include "services/ui/ws/user_id_tracker_observer.h"
32 #include "services/ui/ws/window_manager_window_tree_factory_set.h" 32 #include "services/ui/ws/window_manager_window_tree_factory_set.h"
33 33
34 namespace shell {
35 class Connector;
36 }
37
34 namespace ui { 38 namespace ui {
35 namespace ws { 39 namespace ws {
36 40
37 class AccessPolicy; 41 class AccessPolicy;
38 class DisplayManager; 42 class DisplayManager;
39 class GpuServiceProxy; 43 class GpuServiceProxy;
40 class ServerWindow; 44 class ServerWindow;
41 class UserActivityMonitor; 45 class UserActivityMonitor;
42 class WindowManagerState; 46 class WindowManagerState;
43 class WindowServerDelegate; 47 class WindowServerDelegate;
44 class WindowTree; 48 class WindowTree;
45 class WindowTreeBinding; 49 class WindowTreeBinding;
46 50
47 // WindowServer manages the set of clients of the window server (all the 51 // WindowServer manages the set of clients of the window server (all the
48 // WindowTrees) as well as providing the root of the hierarchy. 52 // WindowTrees) as well as providing the root of the hierarchy.
49 class WindowServer : public ServerWindowDelegate, 53 class WindowServer : public ServerWindowDelegate,
50 public ServerWindowObserver, 54 public ServerWindowObserver,
51 public GpuServiceProxyDelegate, 55 public GpuServiceProxyDelegate,
52 public UserDisplayManagerDelegate, 56 public UserDisplayManagerDelegate,
53 public UserIdTrackerObserver { 57 public UserIdTrackerObserver {
54 public: 58 public:
55 explicit WindowServer(WindowServerDelegate* delegate); 59 explicit WindowServer(WindowServerDelegate* delegate,
60 shell::Connector* connector);
56 ~WindowServer() override; 61 ~WindowServer() override;
57 62
58 WindowServerDelegate* delegate() { return delegate_; } 63 WindowServerDelegate* delegate() { return delegate_; }
59 64
60 UserIdTracker* user_id_tracker() { return &user_id_tracker_; } 65 UserIdTracker* user_id_tracker() { return &user_id_tracker_; }
61 const UserIdTracker* user_id_tracker() const { return &user_id_tracker_; } 66 const UserIdTracker* user_id_tracker() const { return &user_id_tracker_; }
62 67
63 DisplayManager* display_manager() { return display_manager_.get(); } 68 DisplayManager* display_manager() { return display_manager_.get(); }
64 const DisplayManager* display_manager() const { 69 const DisplayManager* display_manager() const {
65 return display_manager_.get(); 70 return display_manager_.get();
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 379
375 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; 380 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_;
376 381
377 DISALLOW_COPY_AND_ASSIGN(WindowServer); 382 DISALLOW_COPY_AND_ASSIGN(WindowServer);
378 }; 383 };
379 384
380 } // namespace ws 385 } // namespace ws
381 } // namespace ui 386 } // namespace ui
382 387
383 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ 388 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/gpu_service_proxy.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698