| 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 COMPONENTS_MUS_WS_WINDOW_TREE_FACTORY_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_FACTORY_H_ |
| 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_FACTORY_H_ | 6 #define SERVICES_UI_WS_WINDOW_TREE_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/mus/public/interfaces/window_tree.mojom.h" | |
| 10 #include "components/mus/ws/user_id.h" | |
| 11 #include "mojo/public/cpp/bindings/strong_binding.h" | 9 #include "mojo/public/cpp/bindings/strong_binding.h" |
| 10 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 11 #include "services/ui/ws/user_id.h" |
| 12 | 12 |
| 13 namespace mus { | 13 namespace mus { |
| 14 namespace ws { | 14 namespace ws { |
| 15 | 15 |
| 16 class WindowServer; | 16 class WindowServer; |
| 17 | 17 |
| 18 class WindowTreeFactory : public mus::mojom::WindowTreeFactory { | 18 class WindowTreeFactory : public mus::mojom::WindowTreeFactory { |
| 19 public: | 19 public: |
| 20 WindowTreeFactory(WindowServer* window_server, | 20 WindowTreeFactory(WindowServer* window_server, |
| 21 const UserId& user_id, | 21 const UserId& user_id, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 32 const UserId user_id_; | 32 const UserId user_id_; |
| 33 const std::string client_name_; | 33 const std::string client_name_; |
| 34 mojo::StrongBinding<mus::mojom::WindowTreeFactory> binding_; | 34 mojo::StrongBinding<mus::mojom::WindowTreeFactory> binding_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(WindowTreeFactory); | 36 DISALLOW_COPY_AND_ASSIGN(WindowTreeFactory); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace ws | 39 } // namespace ws |
| 40 } // namespace mus | 40 } // namespace mus |
| 41 | 41 |
| 42 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_FACTORY_H_ | 42 #endif // SERVICES_UI_WS_WINDOW_TREE_FACTORY_H_ |
| OLD | NEW |