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 StartPointerWatcher(bool want_moves, | 81 void StartPointerWatcher(bool want_moves) override; |
82 uint32_t pointer_watcher_id) override; | |
83 void StopPointerWatcher() override; | 82 void StopPointerWatcher() override; |
84 void Embed(uint32_t window_id, | 83 void Embed(uint32_t window_id, |
85 mojom::WindowTreeClientPtr client, | 84 mojom::WindowTreeClientPtr client, |
86 uint32_t flags, | 85 uint32_t flags, |
87 const EmbedCallback& callback) override; | 86 const EmbedCallback& callback) override; |
88 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 87 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
89 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 88 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
90 void SetCanAcceptEvents(uint32_t window_id, bool can_accept_events) override; | 89 void SetCanAcceptEvents(uint32_t window_id, bool can_accept_events) override; |
91 void SetPredefinedCursor(uint32_t change_id, | 90 void SetPredefinedCursor(uint32_t change_id, |
92 uint32_t window_id, | 91 uint32_t window_id, |
(...skipping 20 matching lines...) Expand all Loading... |
113 uint32_t change_id_; | 112 uint32_t change_id_; |
114 std::set<uint32_t> acked_events_; | 113 std::set<uint32_t> acked_events_; |
115 uint32_t window_id_; | 114 uint32_t window_id_; |
116 | 115 |
117 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 116 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
118 }; | 117 }; |
119 | 118 |
120 } // namespace ui | 119 } // namespace ui |
121 | 120 |
122 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 121 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |