| 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 void SetCanAcceptEvents(Id window_id, bool can_accept_events); | 108 void SetCanAcceptEvents(Id window_id, bool can_accept_events); |
| 109 void SetPredefinedCursor(WindowMus* window, | 109 void SetPredefinedCursor(WindowMus* window, |
| 110 ui::mojom::Cursor old_cursor, | 110 ui::mojom::Cursor old_cursor, |
| 111 ui::mojom::Cursor new_cursor); | 111 ui::mojom::Cursor new_cursor); |
| 112 void SetWindowTextInputState(WindowMus* window, | 112 void SetWindowTextInputState(WindowMus* window, |
| 113 mojo::TextInputStatePtr state); | 113 mojo::TextInputStatePtr state); |
| 114 void SetImeVisibility(WindowMus* window, | 114 void SetImeVisibility(WindowMus* window, |
| 115 bool visible, | 115 bool visible, |
| 116 mojo::TextInputStatePtr state); | 116 mojo::TextInputStatePtr state); |
| 117 | 117 |
| 118 // Embeds a new client in |window|. |
| 118 void Embed(Window* window, | 119 void Embed(Window* window, |
| 119 ui::mojom::WindowTreeClientPtr client, | 120 ui::mojom::WindowTreeClientPtr client, |
| 120 uint32_t flags, | 121 uint32_t flags, |
| 121 const ui::mojom::WindowTree::EmbedCallback& callback); | 122 const ui::mojom::WindowTree::EmbedCallback& callback); |
| 122 | 123 |
| 123 void AttachCompositorFrameSink( | 124 void AttachCompositorFrameSink( |
| 124 Id window_id, | 125 Id window_id, |
| 125 ui::mojom::CompositorFrameSinkType type, | 126 ui::mojom::CompositorFrameSinkType type, |
| 126 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, | 127 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, |
| 127 cc::mojom::MojoCompositorFrameSinkClientPtr client); | 128 cc::mojom::MojoCompositorFrameSinkClientPtr client); |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; | 515 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; |
| 515 | 516 |
| 516 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 517 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 517 | 518 |
| 518 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 519 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 519 }; | 520 }; |
| 520 | 521 |
| 521 } // namespace aura | 522 } // namespace aura |
| 522 | 523 |
| 523 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 524 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |