| 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_WS_WINDOW_TREE_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 mojom::WindowTreeClientPtr client, | 214 mojom::WindowTreeClientPtr client, |
| 215 uint32_t policy_bitmask, | 215 uint32_t policy_bitmask, |
| 216 const EmbedCallback& callback) override; | 216 const EmbedCallback& callback) override; |
| 217 void SetFocus(uint32_t window_id) override; | 217 void SetFocus(uint32_t window_id) override; |
| 218 void SetWindowTextInputState(uint32_t window_id, | 218 void SetWindowTextInputState(uint32_t window_id, |
| 219 mojo::TextInputStatePtr state) override; | 219 mojo::TextInputStatePtr state) override; |
| 220 void SetImeVisibility(Id transport_window_id, | 220 void SetImeVisibility(Id transport_window_id, |
| 221 bool visible, | 221 bool visible, |
| 222 mojo::TextInputStatePtr state) override; | 222 mojo::TextInputStatePtr state) override; |
| 223 void SetClientArea(Id transport_window_id, mojo::RectPtr rect) override; | 223 void SetClientArea(Id transport_window_id, mojo::RectPtr rect) override; |
| 224 void SetPreferredSize(uint32_t window_id, |
| 225 mojo::SizePtr size, |
| 226 const SetPreferredSizeCallback& callback) override; |
| 227 void SetBounds(uint32_t window_id, |
| 228 mojo::RectPtr bounds, |
| 229 const SetBoundsCallback& callback) override; |
| 230 void SetShowState(uint32_t window_id, |
| 231 mus::mojom::ShowState show_state, |
| 232 const SetShowStateCallback& callback) override; |
| 233 void GetDisplays(const GetDisplaysCallback& callback) override; |
| 224 | 234 |
| 225 // AccessPolicyDelegate: | 235 // AccessPolicyDelegate: |
| 226 bool IsRootForAccessPolicy(const WindowId& id) const override; | 236 bool IsRootForAccessPolicy(const WindowId& id) const override; |
| 227 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; | 237 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; |
| 228 bool IsWindowRootOfAnotherConnectionForAccessPolicy( | 238 bool IsWindowRootOfAnotherConnectionForAccessPolicy( |
| 229 const ServerWindow* window) const override; | 239 const ServerWindow* window) const override; |
| 230 bool IsDescendantOfEmbedRoot(const ServerWindow* window) override; | 240 bool IsDescendantOfEmbedRoot(const ServerWindow* window) override; |
| 231 | 241 |
| 232 ConnectionManager* connection_manager_; | 242 ConnectionManager* connection_manager_; |
| 233 | 243 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 256 bool is_embed_root_; | 266 bool is_embed_root_; |
| 257 | 267 |
| 258 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); | 268 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); |
| 259 }; | 269 }; |
| 260 | 270 |
| 261 } // namespace ws | 271 } // namespace ws |
| 262 | 272 |
| 263 } // namespace mus | 273 } // namespace mus |
| 264 | 274 |
| 265 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 275 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| OLD | NEW |