| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 ui::mojom::WindowTreeClientPtr client, | 237 ui::mojom::WindowTreeClientPtr client, |
| 238 uint32_t flags, | 238 uint32_t flags, |
| 239 const EmbedCallback& callback) {} | 239 const EmbedCallback& callback) {} |
| 240 | 240 |
| 241 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { | 241 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { |
| 242 OnChangeReceived(change_id, WindowTreeChangeType::FOCUS); | 242 OnChangeReceived(change_id, WindowTreeChangeType::FOCUS); |
| 243 } | 243 } |
| 244 | 244 |
| 245 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} | 245 void TestWindowTree::SetCanFocus(uint32_t window_id, bool can_focus) {} |
| 246 | 246 |
| 247 void TestWindowTree::SetCanAcceptEvents(uint32_t window_id, | 247 void TestWindowTree::SetEventTargetingPolicy( |
| 248 bool can_accept_events) {} | 248 uint32_t window_id, |
| 249 ui::mojom::EventTargetingPolicy policy) {} |
| 249 | 250 |
| 250 void TestWindowTree::SetPredefinedCursor(uint32_t change_id, | 251 void TestWindowTree::SetPredefinedCursor(uint32_t change_id, |
| 251 uint32_t window_id, | 252 uint32_t window_id, |
| 252 ui::mojom::Cursor cursor_id) { | 253 ui::mojom::Cursor cursor_id) { |
| 253 OnChangeReceived(change_id); | 254 OnChangeReceived(change_id); |
| 254 } | 255 } |
| 255 | 256 |
| 256 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, | 257 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, |
| 257 mojo::TextInputStatePtr state) {} | 258 mojo::TextInputStatePtr state) {} |
| 258 | 259 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 296 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 296 uint32_t window_id, | 297 uint32_t window_id, |
| 297 ui::mojom::MoveLoopSource source, | 298 ui::mojom::MoveLoopSource source, |
| 298 const gfx::Point& cursor_location) { | 299 const gfx::Point& cursor_location) { |
| 299 OnChangeReceived(change_id); | 300 OnChangeReceived(change_id); |
| 300 } | 301 } |
| 301 | 302 |
| 302 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 303 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 303 | 304 |
| 304 } // namespace aura | 305 } // namespace aura |
| OLD | NEW |