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_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/containers/scoped_ptr_map.h" | 8 #include "base/containers/scoped_ptr_map.h" |
9 #include "components/mus/common/types.h" | 9 #include "components/mus/common/types.h" |
10 #include "components/mus/public/cpp/window.h" | 10 #include "components/mus/public/cpp/window.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 void OnEmbedImpl(mojom::WindowTree* window_tree, | 123 void OnEmbedImpl(mojom::WindowTree* window_tree, |
124 ConnectionSpecificId connection_id, | 124 ConnectionSpecificId connection_id, |
125 mojom::WindowDataPtr root_data, | 125 mojom::WindowDataPtr root_data, |
126 Id focused_window_id, | 126 Id focused_window_id, |
127 uint32 access_policy); | 127 uint32 access_policy); |
128 | 128 |
129 // Overridden from WindowTreeConnection: | 129 // Overridden from WindowTreeConnection: |
130 Window* GetRoot() override; | 130 Window* GetRoot() override; |
131 Window* GetWindowById(Id id) override; | 131 Window* GetWindowById(Id id) override; |
132 Window* GetFocusedWindow() override; | 132 Window* GetFocusedWindow() override; |
133 Window* NewWindow() override; | 133 Window* NewWindow(const Window::SharedProperties* properties) override; |
134 bool IsEmbedRoot() override; | 134 bool IsEmbedRoot() override; |
135 ConnectionSpecificId GetConnectionId() override; | 135 ConnectionSpecificId GetConnectionId() override; |
136 | 136 |
137 // Overridden from WindowTreeClient: | 137 // Overridden from WindowTreeClient: |
138 void OnEmbed(ConnectionSpecificId connection_id, | 138 void OnEmbed(ConnectionSpecificId connection_id, |
139 mojom::WindowDataPtr root, | 139 mojom::WindowDataPtr root, |
140 mojom::WindowTreePtr tree, | 140 mojom::WindowTreePtr tree, |
141 Id focused_window_id, | 141 Id focused_window_id, |
142 uint32_t access_policy) override; | 142 uint32_t access_policy) override; |
143 void OnEmbeddedAppDisconnected(Id window_id) override; | 143 void OnEmbeddedAppDisconnected(Id window_id) override; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 bool is_embed_root_; | 218 bool is_embed_root_; |
219 | 219 |
220 bool in_destructor_; | 220 bool in_destructor_; |
221 | 221 |
222 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); | 222 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); |
223 }; | 223 }; |
224 | 224 |
225 } // namespace mus | 225 } // namespace mus |
226 | 226 |
227 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ | 227 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ |
OLD | NEW |