Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(762)

Side by Side Diff: services/ui/ws/test_utils.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/ws/test_change_tracker.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 void OnWindowInputEvent(uint32_t event_id, 436 void OnWindowInputEvent(uint32_t event_id,
437 uint32_t window, 437 uint32_t window,
438 std::unique_ptr<ui::Event> event, 438 std::unique_ptr<ui::Event> event,
439 bool matches_pointer_watcher) override; 439 bool matches_pointer_watcher) override;
440 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, 440 void OnPointerEventObserved(std::unique_ptr<ui::Event> event,
441 uint32_t window_id) override; 441 uint32_t window_id) override;
442 void OnWindowFocused(uint32_t focused_window_id) override; 442 void OnWindowFocused(uint32_t focused_window_id) override;
443 void OnWindowPredefinedCursorChanged(uint32_t window_id, 443 void OnWindowPredefinedCursorChanged(uint32_t window_id,
444 mojom::Cursor cursor_id) override; 444 mojom::Cursor cursor_id) override;
445 void OnWindowSurfaceChanged(Id window_id, 445 void OnWindowSurfaceChanged(Id window_id,
446 const cc::SurfaceId& surface_id, 446 const cc::SurfaceInfo& surface_info) override;
447 const gfx::Size& frame_size,
448 float device_scale_factor) override;
449 void OnDragDropStart( 447 void OnDragDropStart(
450 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 448 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
451 override; 449 override;
452 void OnDragEnter(uint32_t window, 450 void OnDragEnter(uint32_t window,
453 uint32_t key_state, 451 uint32_t key_state,
454 const gfx::Point& position, 452 const gfx::Point& position,
455 uint32_t effect_bitmask, 453 uint32_t effect_bitmask,
456 const OnDragEnterCallback& callback) override; 454 const OnDragEnterCallback& callback) override;
457 void OnDragOver(uint32_t window, 455 void OnDragOver(uint32_t window,
458 uint32_t key_state, 456 uint32_t key_state,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 670 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
673 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 671 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
674 ServerWindow* parent, 672 ServerWindow* parent,
675 ClientWindowId* client_id); 673 ClientWindowId* client_id);
676 674
677 } // namespace test 675 } // namespace test
678 } // namespace ws 676 } // namespace ws
679 } // namespace ui 677 } // namespace ui
680 678
681 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 679 #endif // SERVICES_UI_WS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « services/ui/ws/test_change_tracker.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698