| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 mojo::TextInputStatePtr state) {} | 261 mojo::TextInputStatePtr state) {} |
| 262 | 262 |
| 263 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, | 263 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id, |
| 264 ui::mojom::EventResult result) { | 264 ui::mojom::EventResult result) { |
| 265 EXPECT_FALSE(WasEventAcked(event_id)); | 265 EXPECT_FALSE(WasEventAcked(event_id)); |
| 266 acked_events_.push_back({event_id, result}); | 266 acked_events_.push_back({event_id, result}); |
| 267 } | 267 } |
| 268 | 268 |
| 269 void TestWindowTree::DeactivateWindow(uint32_t window_id) {} | 269 void TestWindowTree::DeactivateWindow(uint32_t window_id) {} |
| 270 | 270 |
| 271 void TestWindowTree::StackAbove(uint32_t change_id, uint32_t above_id, |
| 272 uint32_t below_id) {} |
| 273 |
| 271 void TestWindowTree::StackAtTop(uint32_t change_id, uint32_t window_id) {} | 274 void TestWindowTree::StackAtTop(uint32_t change_id, uint32_t window_id) {} |
| 272 | 275 |
| 273 void TestWindowTree::GetWindowManagerClient( | 276 void TestWindowTree::GetWindowManagerClient( |
| 274 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) { | 277 mojo::AssociatedInterfaceRequest<ui::mojom::WindowManagerClient> internal) { |
| 275 } | 278 } |
| 276 | 279 |
| 277 void TestWindowTree::GetCursorLocationMemory( | 280 void TestWindowTree::GetCursorLocationMemory( |
| 278 const GetCursorLocationMemoryCallback& callback) { | 281 const GetCursorLocationMemoryCallback& callback) { |
| 279 callback.Run(mojo::ScopedSharedBufferHandle()); | 282 callback.Run(mojo::ScopedSharedBufferHandle()); |
| 280 } | 283 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 292 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 295 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
| 293 uint32_t window_id, | 296 uint32_t window_id, |
| 294 ui::mojom::MoveLoopSource source, | 297 ui::mojom::MoveLoopSource source, |
| 295 const gfx::Point& cursor_location) { | 298 const gfx::Point& cursor_location) { |
| 296 OnChangeReceived(change_id); | 299 OnChangeReceived(change_id); |
| 297 } | 300 } |
| 298 | 301 |
| 299 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 302 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
| 300 | 303 |
| 301 } // namespace aura | 304 } // namespace aura |
| OLD | NEW |