| 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_CLIENT_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void SetProperty(Window* window, | 98 void SetProperty(Window* window, |
| 99 const std::string& name, | 99 const std::string& name, |
| 100 mojo::Array<uint8_t> data); | 100 mojo::Array<uint8_t> data); |
| 101 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state); | 101 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state); |
| 102 void SetImeVisibility(Id window_id, | 102 void SetImeVisibility(Id window_id, |
| 103 bool visible, | 103 bool visible, |
| 104 mojo::TextInputStatePtr state); | 104 mojo::TextInputStatePtr state); |
| 105 | 105 |
| 106 void Embed(Id window_id, | 106 void Embed(Id window_id, |
| 107 mojom::WindowTreeClientPtr client, | 107 mojom::WindowTreeClientPtr client, |
| 108 uint32_t flags, |
| 108 const mojom::WindowTree::EmbedCallback& callback); | 109 const mojom::WindowTree::EmbedCallback& callback); |
| 109 | 110 |
| 110 void RequestClose(Window* window); | 111 void RequestClose(Window* window); |
| 111 | 112 |
| 112 void AttachSurface(Id window_id, | 113 void AttachSurface(Id window_id, |
| 113 mojom::SurfaceType type, | 114 mojom::SurfaceType type, |
| 114 mojo::InterfaceRequest<mojom::Surface> surface, | 115 mojo::InterfaceRequest<mojom::Surface> surface, |
| 115 mojom::SurfaceClientPtr client); | 116 mojom::SurfaceClientPtr client); |
| 116 | 117 |
| 117 // Sets the input capture to |window| without notifying the server. | 118 // Sets the input capture to |window| without notifying the server. |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 uint32_t event_observer_id_ = 0u; | 353 uint32_t event_observer_id_ = 0u; |
| 353 | 354 |
| 354 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 355 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 355 | 356 |
| 356 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 357 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 357 }; | 358 }; |
| 358 | 359 |
| 359 } // namespace mus | 360 } // namespace mus |
| 360 | 361 |
| 361 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 362 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |