| 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 UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 5 #ifndef UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 6 #define UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 void SetCapture(uint32_t change_id, uint32_t window_id) override; | 158 void SetCapture(uint32_t change_id, uint32_t window_id) override; |
| 159 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; | 159 void ReleaseCapture(uint32_t change_id, uint32_t window_id) override; |
| 160 void StartPointerWatcher(bool want_moves) override; | 160 void StartPointerWatcher(bool want_moves) override; |
| 161 void StopPointerWatcher() override; | 161 void StopPointerWatcher() override; |
| 162 void Embed(uint32_t window_id, | 162 void Embed(uint32_t window_id, |
| 163 ui::mojom::WindowTreeClientPtr client, | 163 ui::mojom::WindowTreeClientPtr client, |
| 164 uint32_t flags, | 164 uint32_t flags, |
| 165 const EmbedCallback& callback) override; | 165 const EmbedCallback& callback) override; |
| 166 void SetFocus(uint32_t change_id, uint32_t window_id) override; | 166 void SetFocus(uint32_t change_id, uint32_t window_id) override; |
| 167 void SetCanFocus(uint32_t window_id, bool can_focus) override; | 167 void SetCanFocus(uint32_t window_id, bool can_focus) override; |
| 168 void SetCanAcceptEvents(uint32_t window_id, bool can_accept_events) override; | 168 void SetEventTargetingPolicy(uint32_t window_id, |
| 169 ui::mojom::EventTargetingPolicy policy) override; |
| 169 void SetPredefinedCursor(uint32_t change_id, | 170 void SetPredefinedCursor(uint32_t change_id, |
| 170 uint32_t window_id, | 171 uint32_t window_id, |
| 171 ui::mojom::Cursor cursor_id) override; | 172 ui::mojom::Cursor cursor_id) override; |
| 172 void SetWindowTextInputState(uint32_t window_id, | 173 void SetWindowTextInputState(uint32_t window_id, |
| 173 mojo::TextInputStatePtr state) override; | 174 mojo::TextInputStatePtr state) override; |
| 174 void SetImeVisibility(uint32_t window_id, | 175 void SetImeVisibility(uint32_t window_id, |
| 175 bool visible, | 176 bool visible, |
| 176 mojo::TextInputStatePtr state) override; | 177 mojo::TextInputStatePtr state) override; |
| 177 void OnWindowInputEventAck(uint32_t event_id, | 178 void OnWindowInputEventAck(uint32_t event_id, |
| 178 ui::mojom::EventResult result) override; | 179 ui::mojom::EventResult result) override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 gfx::Insets last_client_area_; | 219 gfx::Insets last_client_area_; |
| 219 | 220 |
| 220 base::Optional<gfx::Rect> last_hit_test_mask_; | 221 base::Optional<gfx::Rect> last_hit_test_mask_; |
| 221 | 222 |
| 222 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); | 223 DISALLOW_COPY_AND_ASSIGN(TestWindowTree); |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 } // namespace aura | 226 } // namespace aura |
| 226 | 227 |
| 227 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ | 228 #endif // UI_AURA_TEST_MUS_TEST_WINDOW_TREE_H_ |
| OLD | NEW |