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

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

Issue 2424633002: Revert of Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Created 4 years, 2 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_server_window_delegate.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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « services/ui/ws/test_server_window_delegate.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698