| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void SetProperty(Window* window, | 118 void SetProperty(Window* window, |
| 119 const std::string& name, | 119 const std::string& name, |
| 120 mojo::Array<uint8_t> data); | 120 mojo::Array<uint8_t> data); |
| 121 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state); | 121 void SetWindowTextInputState(Id window_id, mojo::TextInputStatePtr state); |
| 122 void SetImeVisibility(Id window_id, | 122 void SetImeVisibility(Id window_id, |
| 123 bool visible, | 123 bool visible, |
| 124 mojo::TextInputStatePtr state); | 124 mojo::TextInputStatePtr state); |
| 125 | 125 |
| 126 void Embed(Id window_id, | 126 void Embed(Id window_id, |
| 127 mojom::WindowTreeClientPtr client, | 127 mojom::WindowTreeClientPtr client, |
| 128 uint32_t flags, |
| 128 const mojom::WindowTree::EmbedCallback& callback); | 129 const mojom::WindowTree::EmbedCallback& callback); |
| 129 | 130 |
| 130 void RequestClose(Window* window); | 131 void RequestClose(Window* window); |
| 131 | 132 |
| 132 void AttachSurface(Id window_id, | 133 void AttachSurface(Id window_id, |
| 133 mojom::SurfaceType type, | 134 mojom::SurfaceType type, |
| 134 mojo::InterfaceRequest<mojom::Surface> surface, | 135 mojo::InterfaceRequest<mojom::Surface> surface, |
| 135 mojom::SurfaceClientPtr client); | 136 mojom::SurfaceClientPtr client); |
| 136 | 137 |
| 137 // Sets the input capture to |window| without notifying the server. | 138 // Sets the input capture to |window| without notifying the server. |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 uint32_t event_observer_id_ = 0u; | 398 uint32_t event_observer_id_ = 0u; |
| 398 | 399 |
| 399 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 400 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 400 | 401 |
| 401 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 402 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 402 }; | 403 }; |
| 403 | 404 |
| 404 } // namespace mus | 405 } // namespace mus |
| 405 | 406 |
| 406 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 407 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |