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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 void SetImeVisibility(uint32_t window_id, | 93 void SetImeVisibility(uint32_t window_id, |
94 bool visible, | 94 bool visible, |
95 mojo::TextInputStatePtr state) override; | 95 mojo::TextInputStatePtr state) override; |
96 void OnWindowInputEventAck(uint32_t event_id, | 96 void OnWindowInputEventAck(uint32_t event_id, |
97 ui::mojom::EventResult result) override; | 97 ui::mojom::EventResult result) override; |
98 void GetWindowManagerClient( | 98 void GetWindowManagerClient( |
99 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 99 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
100 override; | 100 override; |
101 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) | 101 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) |
102 override; | 102 override; |
| 103 void SetAcceptEvents(uint32_t window_id, bool accept_events) override; |
103 | 104 |
104 bool got_change_; | 105 bool got_change_; |
105 uint32_t change_id_; | 106 uint32_t change_id_; |
106 std::set<uint32_t> acked_events_; | 107 std::set<uint32_t> acked_events_; |
107 uint32_t window_id_; | 108 uint32_t window_id_; |
108 | 109 |
109 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 110 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
110 }; | 111 }; |
111 | 112 |
112 } // namespace ui | 113 } // namespace ui |
113 | 114 |
114 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ | 115 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_TEST_WINDOW_TREE_H_ |
OLD | NEW |