| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/ui/ws/test_utils.h" | 5 #include "services/ui/ws/test_utils.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "cc/output/copy_output_request.h" | 10 #include "cc/output/copy_output_request.h" |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 339 |
| 340 void TestWindowTreeClient::OnWindowPredefinedCursorChanged( | 340 void TestWindowTreeClient::OnWindowPredefinedCursorChanged( |
| 341 uint32_t window_id, | 341 uint32_t window_id, |
| 342 mojom::Cursor cursor_id) { | 342 mojom::Cursor cursor_id) { |
| 343 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); | 343 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); |
| 344 } | 344 } |
| 345 | 345 |
| 346 void TestWindowTreeClient::OnWindowSurfaceChanged( | 346 void TestWindowTreeClient::OnWindowSurfaceChanged( |
| 347 Id window_id, | 347 Id window_id, |
| 348 const cc::SurfaceId& surface_id, | 348 const cc::SurfaceId& surface_id, |
| 349 const cc::SurfaceSequence& surface_sequence, | |
| 350 const gfx::Size& frame_size, | 349 const gfx::Size& frame_size, |
| 351 float device_scale_factor) {} | 350 float device_scale_factor) {} |
| 352 | 351 |
| 353 void TestWindowTreeClient::OnDragDropStart( | 352 void TestWindowTreeClient::OnDragDropStart( |
| 354 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) {} | 353 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) {} |
| 355 | 354 |
| 356 void TestWindowTreeClient::OnDragEnter(uint32_t window, | 355 void TestWindowTreeClient::OnDragEnter(uint32_t window, |
| 357 uint32_t key_state, | 356 uint32_t key_state, |
| 358 const gfx::Point& position, | 357 const gfx::Point& position, |
| 359 uint32_t effect_bitmask, | 358 uint32_t effect_bitmask, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 return nullptr; | 588 return nullptr; |
| 590 if (!tree->AddWindow(parent_client_id, client_window_id)) | 589 if (!tree->AddWindow(parent_client_id, client_window_id)) |
| 591 return nullptr; | 590 return nullptr; |
| 592 *client_id = client_window_id; | 591 *client_id = client_window_id; |
| 593 return tree->GetWindowByClientId(client_window_id); | 592 return tree->GetWindowByClientId(client_window_id); |
| 594 } | 593 } |
| 595 | 594 |
| 596 } // namespace test | 595 } // namespace test |
| 597 } // namespace ws | 596 } // namespace ws |
| 598 } // namespace ui | 597 } // namespace ui |
| OLD | NEW |