| 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::Shell* shell, | 51 mojo::Connector* connector, |
| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 232 |
| 233 mojom::FrameDecorationValuesPtr frame_decoration_values_; | 233 mojom::FrameDecorationValuesPtr frame_decoration_values_; |
| 234 | 234 |
| 235 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); | 235 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); |
| 236 }; | 236 }; |
| 237 | 237 |
| 238 } // namespace ws | 238 } // namespace ws |
| 239 } // namespace mus | 239 } // namespace mus |
| 240 | 240 |
| 241 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ | 241 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_HOST_IMPL_H_ |
| OLD | NEW |