| 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 #include "ui/aura/test/mus/test_window_tree.h" | 5 #include "ui/aura/test/mus/test_window_tree.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace aura { | 9 namespace aura { |
| 10 | 10 |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { | 247 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { |
| 248 OnChangeReceived(change_id, WindowTreeChangeType::FOCUS); | 248 OnChangeReceived(change_id, WindowTreeChangeType::FOCUS); |
| 249 } | 249 } |
| 250 | 250 |
| 251 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} | 251 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} |
| 252 | 252 |
| 253 void TestWindowTree::SetEventTargetingPolicy( | 253 void TestWindowTree::SetEventTargetingPolicy( |
| 254 uint32_t window_id, | 254 uint32_t window_id, |
| 255 ui::mojom::EventTargetingPolicy policy) {} | 255 ui::mojom::EventTargetingPolicy policy) {} |
| 256 | 256 |
| 257 void TestWindowTree::SetPredefinedCursor(uint32_t change_id, | 257 void TestWindowTree::SetCursor(uint32_t change_id, |
| 258 uint32_t window_id, | 258 Id transport_window_id, |
| 259 ui::mojom::CursorType cursor_id) { | 259 ui::CursorData cursor_data) { |
| 260 OnChangeReceived(change_id); | 260 OnChangeReceived(change_id); |
| 261 } | 261 } |
| 262 | 262 |
| 263 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, | 263 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, |
| 264 mojo::TextInputStatePtr state) {} | 264 mojo::TextInputStatePtr state) {} |
| 265 | 265 |
| 266 void TestWindowTree::SetImeVisibility(uint32_t window_id, | 266 void TestWindowTree::SetImeVisibility(uint32_t window_id, |
| 267 bool visible, | 267 bool visible, |
| 268 mojo::TextInputStatePtr state) {} | 268 mojo::TextInputStatePtr state) {} |
| 269 | 269 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 306 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 307 uint32_t window_id, | 307 uint32_t window_id, |
| 308 ui::mojom::MoveLoopSource source, | 308 ui::mojom::MoveLoopSource source, |
| 309 const gfx::Point& cursor_location) { | 309 const gfx::Point& cursor_location) { |
| 310 OnChangeReceived(change_id); | 310 OnChangeReceived(change_id); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 313 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 314 | 314 |
| 315 } // namespace aura | 315 } // namespace aura |
| OLD | NEW |