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

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

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: First cut propagating LocalSurfaceId when WindowTreeHost requests resize Created 3 years, 9 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/public/interfaces/window_tree_constants.mojom ('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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 void OnDragLeave(uint32_t window) override; 471 void OnDragLeave(uint32_t window) override;
472 void OnCompleteDrop(uint32_t window, 472 void OnCompleteDrop(uint32_t window,
473 uint32_t key_state, 473 uint32_t key_state,
474 const gfx::Point& position, 474 const gfx::Point& position,
475 uint32_t effect_bitmask, 475 uint32_t effect_bitmask,
476 const OnCompleteDropCallback& callback) override; 476 const OnCompleteDropCallback& callback) override;
477 void OnPerformDragDropCompleted(uint32_t window, 477 void OnPerformDragDropCompleted(uint32_t window,
478 bool success, 478 bool success,
479 uint32_t action_taken) override; 479 uint32_t action_taken) override;
480 void OnDragDropDone() override; 480 void OnDragDropDone() override;
481 void OnSetWindowBoundsResponse(
482 uint32_t change_id,
483 const gfx::Rect& bounds,
484 const cc::LocalSurfaceId& local_surface_id) override;
481 void OnChangeCompleted(uint32_t change_id, bool success) override; 485 void OnChangeCompleted(uint32_t change_id, bool success) override;
482 void RequestClose(uint32_t window_id) override; 486 void RequestClose(uint32_t window_id) override;
483 void GetWindowManager( 487 void GetWindowManager(
484 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override; 488 mojo::AssociatedInterfaceRequest<mojom::WindowManager> internal) override;
485 489
486 TestChangeTracker tracker_; 490 TestChangeTracker tracker_;
487 mojo::Binding<mojom::WindowTreeClient> binding_; 491 mojo::Binding<mojom::WindowTreeClient> binding_;
488 bool record_on_change_completed_ = false; 492 bool record_on_change_completed_ = false;
489 493
490 DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClient); 494 DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClient);
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 686 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
683 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 687 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
684 ServerWindow* parent, 688 ServerWindow* parent,
685 ClientWindowId* client_id = nullptr); 689 ClientWindowId* client_id = nullptr);
686 690
687 } // namespace test 691 } // namespace test
688 } // namespace ws 692 } // namespace ws
689 } // namespace ui 693 } // namespace ui
690 694
691 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 695 #endif // SERVICES_UI_WS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_tree_constants.mojom ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698