| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 uint32_t policy_bitmask, | 231 uint32_t policy_bitmask, |
| 232 const EmbedCallback& callback) override; | 232 const EmbedCallback& callback) override; |
| 233 void SetFocus(uint32_t window_id) override; | 233 void SetFocus(uint32_t window_id) override; |
| 234 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 234 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 235 void SetWindowTextInputState(uint32_t window_id, | 235 void SetWindowTextInputState(uint32_t window_id, |
| 236 mojo::TextInputStatePtr state) override; | 236 mojo::TextInputStatePtr state) override; |
| 237 void SetImeVisibility(Id transport_window_id, | 237 void SetImeVisibility(Id transport_window_id, |
| 238 bool visible, | 238 bool visible, |
| 239 mojo::TextInputStatePtr state) override; | 239 mojo::TextInputStatePtr state) override; |
| 240 void SetClientArea(Id transport_window_id, mojo::InsetsPtr insets) override; | 240 void SetClientArea(Id transport_window_id, mojo::InsetsPtr insets) override; |
| 241 void SetPreferredSize(uint32_t window_id, | |
| 242 mojo::SizePtr size, | |
| 243 const SetPreferredSizeCallback& callback) override; | |
| 244 void SetResizeBehavior(uint32_t window_id, | |
| 245 mus::mojom::ResizeBehavior resize_behavior) override; | |
| 246 void WmResponse(uint32 change_id, bool response) override; | 241 void WmResponse(uint32 change_id, bool response) override; |
| 247 | 242 |
| 248 // AccessPolicyDelegate: | 243 // AccessPolicyDelegate: |
| 249 bool IsRootForAccessPolicy(const WindowId& id) const override; | 244 bool IsRootForAccessPolicy(const WindowId& id) const override; |
| 250 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; | 245 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; |
| 251 bool IsWindowRootOfAnotherConnectionForAccessPolicy( | 246 bool IsWindowRootOfAnotherConnectionForAccessPolicy( |
| 252 const ServerWindow* window) const override; | 247 const ServerWindow* window) const override; |
| 253 bool IsDescendantOfEmbedRoot(const ServerWindow* window) override; | 248 bool IsDescendantOfEmbedRoot(const ServerWindow* window) override; |
| 254 | 249 |
| 255 ConnectionManager* connection_manager_; | 250 ConnectionManager* connection_manager_; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 279 bool is_embed_root_; | 274 bool is_embed_root_; |
| 280 | 275 |
| 281 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); | 276 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); |
| 282 }; | 277 }; |
| 283 | 278 |
| 284 } // namespace ws | 279 } // namespace ws |
| 285 | 280 |
| 286 } // namespace mus | 281 } // namespace mus |
| 287 | 282 |
| 288 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 283 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| OLD | NEW |