| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TESTS_TEST_WINDOW_TREE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/mus/public/interfaces/window_tree.mojom.h" | 9 #include "components/mus/public/interfaces/window_tree.mojom.h" |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 mojom::OrderDirection direction, | 60 mojom::OrderDirection direction, |
| 61 const ReorderWindowCallback& callback) override; | 61 const ReorderWindowCallback& callback) override; |
| 62 void GetWindowTree(uint32_t window_id, | 62 void GetWindowTree(uint32_t window_id, |
| 63 const GetWindowTreeCallback& callback) override; | 63 const GetWindowTreeCallback& callback) override; |
| 64 void Embed(uint32_t window_id, | 64 void Embed(uint32_t window_id, |
| 65 mojom::WindowTreeClientPtr client, | 65 mojom::WindowTreeClientPtr client, |
| 66 uint32_t policy_bitmask, | 66 uint32_t policy_bitmask, |
| 67 const EmbedCallback& callback) override; | 67 const EmbedCallback& callback) override; |
| 68 void SetFocus(uint32_t window_id) override; | 68 void SetFocus(uint32_t window_id) override; |
| 69 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 69 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 70 void SetPredefinedCursor(uint32_t change_id, |
| 71 uint32_t window_id, |
| 72 mus::mojom::Cursor cursor_id) override; |
| 70 void SetWindowTextInputState(uint32_t window_id, | 73 void SetWindowTextInputState(uint32_t window_id, |
| 71 mojo::TextInputStatePtr state) override; | 74 mojo::TextInputStatePtr state) override; |
| 72 void SetImeVisibility(uint32_t window_id, | 75 void SetImeVisibility(uint32_t window_id, |
| 73 bool visible, | 76 bool visible, |
| 74 mojo::TextInputStatePtr state) override; | 77 mojo::TextInputStatePtr state) override; |
| 75 void OnWindowInputEventAck(uint32_t event_id) override; | 78 void OnWindowInputEventAck(uint32_t event_id) override; |
| 76 void WmResponse(uint32_t change_id, bool response) override; | 79 void WmResponse(uint32_t change_id, bool response) override; |
| 77 | 80 |
| 78 bool got_change_; | 81 bool got_change_; |
| 79 uint32_t change_id_; | 82 uint32_t change_id_; |
| 80 | 83 |
| 81 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 84 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 82 }; | 85 }; |
| 83 | 86 |
| 84 } // namespace mus | 87 } // namespace mus |
| 85 | 88 |
| 86 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 89 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |