| 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 SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 6 #define SERVICES_UI_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 void ReorderWindow(uint32_t change_id, | 72 void ReorderWindow(uint32_t change_id, |
| 73 uint32_t window_id, | 73 uint32_t window_id, |
| 74 uint32_t relative_window_id, | 74 uint32_t relative_window_id, |
| 75 mojom::OrderDirection direction) override; | 75 mojom::OrderDirection direction) override; |
| 76 void GetWindowTree(uint32_t window_id, | 76 void GetWindowTree(uint32_t window_id, |
| 77 const GetWindowTreeCallback& callback) override; | 77 const GetWindowTreeCallback& callback) override; |
| 78 void SetCapture(uint32_t change_id, uint32_t window_id) override; | 78 void SetCapture(uint32_t change_id, uint32_t window_id) override; |
| 79 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; | 79 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; |
| 80 void SetEventObserver(mojom::EventMatcherPtr matcher, | 80 void SetEventObserver(mojom::EventMatcherPtr matcher, |
| 81 uint32_t observer_id) override; | 81 uint32_t observer_id) override; |
| 82 void StartPointerWatcher(bool want_moves, |
| 83 uint32_t pointer_watcher_id) override; |
| 84 void StopPointerWatcher() override; |
| 82 void Embed(uint32_t window_id, | 85 void Embed(uint32_t window_id, |
| 83 mojom::WindowTreeClientPtr client, | 86 mojom::WindowTreeClientPtr client, |
| 84 uint32_t flags, | 87 uint32_t flags, |
| 85 const EmbedCallback& callback) override; | 88 const EmbedCallback& callback) override; |
| 86 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 89 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
| 87 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 90 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 88 void SetCanAcceptEvents(uint32_t window_id, bool can_accept_events) override; | 91 void SetCanAcceptEvents(uint32_t window_id, bool can_accept_events) override; |
| 89 void SetPredefinedCursor(uint32_t change_id, | 92 void SetPredefinedCursor(uint32_t change_id, |
| 90 uint32_t window_id, | 93 uint32_t window_id, |
| 91 ui::mojom::Cursor cursor_id) override; | 94 ui::mojom::Cursor cursor_id) override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 111 uint32_t change_id_; | 114 uint32_t change_id_; |
| 112 std::set<uint32_t> acked_events_; | 115 std::set<uint32_t> acked_events_; |
| 113 uint32_t window_id_; | 116 uint32_t window_id_; |
| 114 | 117 |
| 115 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 118 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 116 }; | 119 }; |
| 117 | 120 |
| 118 } // namespace ui | 121 } // namespace ui |
| 119 | 122 |
| 120 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 123 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |