| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MANAGER_WINDOW_TREE_FACTORY_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_MANAGER_WINDOW_TREE_FACTORY_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_MANAGER_WINDOW_TREE_FACTORY_H_ | 6 #define SERVICES_UI_WS_WINDOW_MANAGER_WINDOW_TREE_FACTORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "mojo/public/cpp/bindings/binding.h" | 10 #include "mojo/public/cpp/bindings/binding.h" |
| 11 #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom
.h" | 11 #include "services/ui/public/interfaces/window_manager_window_tree_factory.mojom
.h" |
| 12 #include "services/ui/ws/user_id.h" | 12 #include "services/ui/ws/user_id.h" |
| 13 | 13 |
| 14 namespace ui { | 14 namespace ui { |
| 15 namespace ws { | 15 namespace ws { |
| 16 | 16 |
| 17 class ServerWindow; | |
| 18 class WindowManagerWindowTreeFactorySet; | 17 class WindowManagerWindowTreeFactorySet; |
| 19 class WindowServer; | 18 class WindowServer; |
| 20 class WindowTree; | 19 class WindowTree; |
| 21 | 20 |
| 22 // Implementation of mojom::WindowManagerWindowTreeFactory. | 21 // Implementation of mojom::WindowManagerWindowTreeFactory. |
| 23 class WindowManagerWindowTreeFactory | 22 class WindowManagerWindowTreeFactory |
| 24 : public mojom::WindowManagerWindowTreeFactory { | 23 : public mojom::WindowManagerWindowTreeFactory { |
| 25 public: | 24 public: |
| 26 WindowManagerWindowTreeFactory( | 25 WindowManagerWindowTreeFactory( |
| 27 WindowManagerWindowTreeFactorySet* window_manager_window_tree_factory_set, | 26 WindowManagerWindowTreeFactorySet* window_manager_window_tree_factory_set, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 53 // Owned by WindowServer. | 52 // Owned by WindowServer. |
| 54 WindowTree* window_tree_; | 53 WindowTree* window_tree_; |
| 55 | 54 |
| 56 DISALLOW_COPY_AND_ASSIGN(WindowManagerWindowTreeFactory); | 55 DISALLOW_COPY_AND_ASSIGN(WindowManagerWindowTreeFactory); |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace ws | 58 } // namespace ws |
| 60 } // namespace ui | 59 } // namespace ui |
| 61 | 60 |
| 62 #endif // SERVICES_UI_WS_WINDOW_MANAGER_WINDOW_TREE_FACTORY_H_ | 61 #endif // SERVICES_UI_WS_WINDOW_MANAGER_WINDOW_TREE_FACTORY_H_ |
| OLD | NEW |