OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WS_WINDOW_TREE_HOST_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ |
6 #define COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <queue> | 10 #include <queue> |
(...skipping 30 matching lines...) Expand all Loading... |
41 public mojom::WindowTreeHost, | 41 public mojom::WindowTreeHost, |
42 public FocusControllerObserver, | 42 public FocusControllerObserver, |
43 public FocusControllerDelegate, | 43 public FocusControllerDelegate, |
44 public EventDispatcherDelegate, | 44 public EventDispatcherDelegate, |
45 public ServerWindowObserver { | 45 public ServerWindowObserver { |
46 public: | 46 public: |
47 // TODO(fsamuel): All these parameters are just plumbing for creating | 47 // TODO(fsamuel): All these parameters are just plumbing for creating |
48 // DisplayManagers. We should probably just store these common parameters | 48 // DisplayManagers. We should probably just store these common parameters |
49 // in the DisplayManagerFactory and pass them along on DisplayManager::Create. | 49 // in the DisplayManagerFactory and pass them along on DisplayManager::Create. |
50 WindowTreeHostImpl(ConnectionManager* connection_manager, | 50 WindowTreeHostImpl(ConnectionManager* connection_manager, |
51 mojo::ApplicationImpl* app_impl, | 51 mojo::Shell* shell, |
52 const scoped_refptr<GpuState>& gpu_state, | 52 const scoped_refptr<GpuState>& gpu_state, |
53 const scoped_refptr<SurfacesState>& surfaces_state); | 53 const scoped_refptr<SurfacesState>& surfaces_state); |
54 ~WindowTreeHostImpl() override; | 54 ~WindowTreeHostImpl() override; |
55 | 55 |
56 // Initializes state that depends on the existence of a WindowTreeHostImpl. | 56 // Initializes state that depends on the existence of a WindowTreeHostImpl. |
57 void Init(WindowTreeHostDelegate* delegate); | 57 void Init(WindowTreeHostDelegate* delegate); |
58 | 58 |
59 uint32_t id() const { return id_; } | 59 uint32_t id() const { return id_; } |
60 | 60 |
61 const WindowTreeImpl* GetWindowTree() const; | 61 const WindowTreeImpl* GetWindowTree() const; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 mojom::FrameDecorationValuesPtr frame_decoration_values_; | 219 mojom::FrameDecorationValuesPtr frame_decoration_values_; |
220 | 220 |
221 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); | 221 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); |
222 }; | 222 }; |
223 | 223 |
224 } // namespace ws | 224 } // namespace ws |
225 } // namespace mus | 225 } // namespace mus |
226 | 226 |
227 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ | 227 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ |
OLD | NEW |