| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 void SetWindowBounds(uint32_t change_id, | 219 void SetWindowBounds(uint32_t change_id, |
| 220 Id window_id, | 220 Id window_id, |
| 221 mojo::RectPtr bounds) override; | 221 mojo::RectPtr bounds) override; |
| 222 void SetWindowVisibility(Id window_id, | 222 void SetWindowVisibility(Id window_id, |
| 223 bool visible, | 223 bool visible, |
| 224 const mojo::Callback<void(bool)>& callback) override; | 224 const mojo::Callback<void(bool)>& callback) override; |
| 225 void SetWindowProperty(uint32_t change_id, | 225 void SetWindowProperty(uint32_t change_id, |
| 226 Id window_id, | 226 Id window_id, |
| 227 const mojo::String& name, | 227 const mojo::String& name, |
| 228 mojo::Array<uint8_t> value) override; | 228 mojo::Array<uint8_t> value) override; |
| 229 void RequestSurface(Id window_id, | 229 void AttachSurface(Id window_id, |
| 230 mojom::SurfaceType type, | 230 mojom::SurfaceType type, |
| 231 mojo::InterfaceRequest<mojom::Surface> surface, | 231 mojo::InterfaceRequest<mojom::Surface> surface, |
| 232 mojom::SurfaceClientPtr client) override; | 232 mojom::SurfaceClientPtr client) override; |
| 233 void Embed(Id transport_window_id, | 233 void Embed(Id transport_window_id, |
| 234 mojom::WindowTreeClientPtr client, | 234 mojom::WindowTreeClientPtr client, |
| 235 uint32_t policy_bitmask, | 235 uint32_t policy_bitmask, |
| 236 const EmbedCallback& callback) override; | 236 const EmbedCallback& callback) override; |
| 237 void SetFocus(uint32_t window_id) override; | 237 void SetFocus(uint32_t window_id) override; |
| 238 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 238 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 239 void SetWindowTextInputState(uint32_t window_id, | 239 void SetWindowTextInputState(uint32_t window_id, |
| 240 mojo::TextInputStatePtr state) override; | 240 mojo::TextInputStatePtr state) override; |
| 241 void SetImeVisibility(Id transport_window_id, | 241 void SetImeVisibility(Id transport_window_id, |
| 242 bool visible, | 242 bool visible, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 bool is_embed_root_; | 278 bool is_embed_root_; |
| 279 | 279 |
| 280 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); | 280 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 } // namespace ws | 283 } // namespace ws |
| 284 | 284 |
| 285 } // namespace mus | 285 } // namespace mus |
| 286 | 286 |
| 287 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 287 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| OLD | NEW |