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