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