| 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_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "components/mus/public/interfaces/window_manager.mojom.h" | 10 #include "components/mus/public/interfaces/window_manager.mojom.h" |
| 11 #include "components/mus/public/interfaces/window_tree.mojom.h" | 11 #include "components/mus/public/interfaces/window_tree.mojom.h" |
| 12 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | 12 #include "components/mus/public/interfaces/window_tree_host.mojom.h" |
| 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
| 14 | 14 |
| 15 namespace mojo { | 15 namespace mojo { |
| 16 class ApplicationImpl; | 16 class ApplicationImpl; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace mus { | 19 namespace mus { |
| 20 | 20 |
| 21 class WindowManagerDelegate; | 21 class WindowManagerDelegate; |
| 22 class WindowTreeDelegate; | 22 class WindowTreeDelegate; |
| 23 | 23 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 34 // application. Useful only for tests and trivial UIs. | 34 // application. Useful only for tests and trivial UIs. |
| 35 void CreateSingleWindowTreeHost(mojo::ApplicationImpl* app, | 35 void CreateSingleWindowTreeHost(mojo::ApplicationImpl* app, |
| 36 WindowTreeDelegate* delegate, | 36 WindowTreeDelegate* delegate, |
| 37 mojom::WindowTreeHostPtr* host, | 37 mojom::WindowTreeHostPtr* host, |
| 38 mojom::WindowManagerPtr window_manager, | 38 mojom::WindowManagerPtr window_manager, |
| 39 WindowManagerDelegate* window_manager_delegate); | 39 WindowManagerDelegate* window_manager_delegate); |
| 40 | 40 |
| 41 } // namespace mus | 41 } // namespace mus |
| 42 | 42 |
| 43 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ | 43 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_HOST_FACTORY_H_ |
| OLD | NEW |