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_DISPLAY_BINDING_H_ | 5 #ifndef SERVICES_UI_WS_DISPLAY_BINDING_H_ |
6 #define COMPONENTS_MUS_WS_DISPLAY_BINDING_H_ | 6 #define SERVICES_UI_WS_DISPLAY_BINDING_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/public/interfaces/window_tree_host.mojom.h" | |
12 #include "components/mus/ws/display.h" | |
13 #include "components/mus/ws/user_id.h" | |
14 #include "mojo/public/cpp/bindings/binding.h" | 11 #include "mojo/public/cpp/bindings/binding.h" |
| 12 #include "services/ui/public/interfaces/window_tree_host.mojom.h" |
| 13 #include "services/ui/ws/display.h" |
| 14 #include "services/ui/ws/user_id.h" |
15 | 15 |
16 namespace mus { | 16 namespace mus { |
17 namespace ws { | 17 namespace ws { |
18 | 18 |
19 class ServerWindow; | 19 class ServerWindow; |
20 class WindowServer; | 20 class WindowServer; |
21 class WindowTree; | 21 class WindowTree; |
22 | 22 |
23 // DisplayBinding manages the binding between a Display and it's mojo clients. | 23 // DisplayBinding manages the binding between a Display and it's mojo clients. |
24 // DisplayBinding is used when a Display is created via a | 24 // DisplayBinding is used when a Display is created via a |
(...skipping 25 matching lines...) Expand all Loading... |
50 const UserId user_id_; | 50 const UserId user_id_; |
51 mojo::Binding<mojom::WindowTreeHost> binding_; | 51 mojo::Binding<mojom::WindowTreeHost> binding_; |
52 mojom::WindowTreeClientPtr client_; | 52 mojom::WindowTreeClientPtr client_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(DisplayBindingImpl); | 54 DISALLOW_COPY_AND_ASSIGN(DisplayBindingImpl); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace ws | 57 } // namespace ws |
58 } // namespace mus | 58 } // namespace mus |
59 | 59 |
60 #endif // COMPONENTS_MUS_WS_DISPLAY_BINDING_H_ | 60 #endif // SERVICES_UI_WS_DISPLAY_BINDING_H_ |
OLD | NEW |