| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 uint32_t window_id, | 64 uint32_t window_id, |
| 65 uint32_t transient_window_id) override; | 65 uint32_t transient_window_id) override; |
| 66 void RemoveTransientWindowFromParent(uint32_t change_id, | 66 void RemoveTransientWindowFromParent(uint32_t change_id, |
| 67 uint32_t window_id) override; | 67 uint32_t window_id) override; |
| 68 void ReorderWindow(uint32_t change_id, | 68 void ReorderWindow(uint32_t change_id, |
| 69 uint32_t window_id, | 69 uint32_t window_id, |
| 70 uint32_t relative_window_id, | 70 uint32_t relative_window_id, |
| 71 mojom::OrderDirection direction) override; | 71 mojom::OrderDirection direction) override; |
| 72 void GetWindowTree(uint32_t window_id, | 72 void GetWindowTree(uint32_t window_id, |
| 73 const GetWindowTreeCallback& callback) override; | 73 const GetWindowTreeCallback& callback) override; |
| 74 void SetCapture(uint32_t change_id, uint32_t window_id) override; |
| 75 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; |
| 74 void Embed(uint32_t window_id, | 76 void Embed(uint32_t window_id, |
| 75 mojom::WindowTreeClientPtr client, | 77 mojom::WindowTreeClientPtr client, |
| 76 uint32_t policy_bitmask, | 78 uint32_t policy_bitmask, |
| 77 const EmbedCallback& callback) override; | 79 const EmbedCallback& callback) override; |
| 78 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 80 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
| 79 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 81 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 80 void SetPredefinedCursor(uint32_t change_id, | 82 void SetPredefinedCursor(uint32_t change_id, |
| 81 uint32_t window_id, | 83 uint32_t window_id, |
| 82 mus::mojom::Cursor cursor_id) override; | 84 mus::mojom::Cursor cursor_id) override; |
| 83 void SetWindowTextInputState(uint32_t window_id, | 85 void SetWindowTextInputState(uint32_t window_id, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 94 uint32_t change_id_; | 96 uint32_t change_id_; |
| 95 std::set<uint32_t> acked_events_; | 97 std::set<uint32_t> acked_events_; |
| 96 uint32_t window_id_; | 98 uint32_t window_id_; |
| 97 | 99 |
| 98 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 100 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 99 }; | 101 }; |
| 100 | 102 |
| 101 } // namespace mus | 103 } // namespace mus |
| 102 | 104 |
| 103 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 105 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |