| 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 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ | 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ |
| 6 #define SERVICES_UI_WS_TEST_UTILS_H_ | 6 #define SERVICES_UI_WS_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 mojo::Array<uint8_t> new_data) override; | 430 mojo::Array<uint8_t> new_data) override; |
| 431 void OnWindowInputEvent(uint32_t event_id, | 431 void OnWindowInputEvent(uint32_t event_id, |
| 432 uint32_t window, | 432 uint32_t window, |
| 433 std::unique_ptr<ui::Event> event, | 433 std::unique_ptr<ui::Event> event, |
| 434 bool matches_pointer_watcher) override; | 434 bool matches_pointer_watcher) override; |
| 435 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, | 435 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, |
| 436 uint32_t window_id) override; | 436 uint32_t window_id) override; |
| 437 void OnWindowFocused(uint32_t focused_window_id) override; | 437 void OnWindowFocused(uint32_t focused_window_id) override; |
| 438 void OnWindowPredefinedCursorChanged(uint32_t window_id, | 438 void OnWindowPredefinedCursorChanged(uint32_t window_id, |
| 439 mojom::Cursor cursor_id) override; | 439 mojom::Cursor cursor_id) override; |
| 440 void OnWindowSurfaceChanged(Id window_id, | |
| 441 const cc::SurfaceId& surface_id, | |
| 442 const cc::SurfaceSequence& surface_sequence, | |
| 443 const gfx::Size& frame_size, | |
| 444 float device_scale_factor) override; | |
| 445 void OnDragDropStart( | 440 void OnDragDropStart( |
| 446 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; | 441 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; |
| 447 void OnDragEnter(uint32_t window, | 442 void OnDragEnter(uint32_t window, |
| 448 uint32_t key_state, | 443 uint32_t key_state, |
| 449 const gfx::Point& position, | 444 const gfx::Point& position, |
| 450 uint32_t effect_bitmask, | 445 uint32_t effect_bitmask, |
| 451 const OnDragEnterCallback& callback) override; | 446 const OnDragEnterCallback& callback) override; |
| 452 void OnDragOver(uint32_t window, | 447 void OnDragOver(uint32_t window, |
| 453 uint32_t key_state, | 448 uint32_t key_state, |
| 454 const gfx::Point& position, | 449 const gfx::Point& position, |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); | 660 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); |
| 666 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, | 661 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, |
| 667 ServerWindow* parent, | 662 ServerWindow* parent, |
| 668 ClientWindowId* client_id); | 663 ClientWindowId* client_id); |
| 669 | 664 |
| 670 } // namespace test | 665 } // namespace test |
| 671 } // namespace ws | 666 } // namespace ws |
| 672 } // namespace ui | 667 } // namespace ui |
| 673 | 668 |
| 674 #endif // SERVICES_UI_WS_TEST_UTILS_H_ | 669 #endif // SERVICES_UI_WS_TEST_UTILS_H_ |
| OLD | NEW |