OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CONNECTION_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "components/mus/common/types.h" | 14 #include "components/mus/common/types.h" |
13 #include "components/mus/public/interfaces/window_tree.mojom.h" | 15 #include "components/mus/public/interfaces/window_tree.mojom.h" |
14 #include "mojo/public/cpp/bindings/interface_request.h" | 16 #include "mojo/public/cpp/bindings/interface_request.h" |
15 | 17 |
16 namespace mus { | 18 namespace mus { |
17 | 19 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Returns the id for this connection. | 71 // Returns the id for this connection. |
70 virtual ConnectionSpecificId GetConnectionId() = 0; | 72 virtual ConnectionSpecificId GetConnectionId() = 0; |
71 | 73 |
72 virtual void AddObserver(WindowTreeConnectionObserver* observer) = 0; | 74 virtual void AddObserver(WindowTreeConnectionObserver* observer) = 0; |
73 virtual void RemoveObserver(WindowTreeConnectionObserver* observer) = 0; | 75 virtual void RemoveObserver(WindowTreeConnectionObserver* observer) = 0; |
74 }; | 76 }; |
75 | 77 |
76 } // namespace mus | 78 } // namespace mus |
77 | 79 |
78 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_H_ | 80 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_H_ |
OLD | NEW |