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

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

Issue 2386763002: services/ui: Match naming in cc (and jellyfish branch) (Closed)
Patch Set: Removed bad change 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 private: 631 private:
632 WindowServerTestHelper ws_test_helper_; 632 WindowServerTestHelper ws_test_helper_;
633 // TestWindowTreeClient that is used for the WM client. Owned by 633 // TestWindowTreeClient that is used for the WM client. Owned by
634 // |window_server_delegate_| 634 // |window_server_delegate_|
635 TestWindowTreeClient* wm_client_; 635 TestWindowTreeClient* wm_client_;
636 // Owned by WindowServer 636 // Owned by WindowServer
637 TestDisplayBinding* display_binding_; 637 TestDisplayBinding* display_binding_;
638 // Owned by WindowServer's DisplayManager. 638 // Owned by WindowServer's DisplayManager.
639 Display* display_; 639 Display* display_;
640 scoped_refptr<SurfacesState> surfaces_state_; 640 scoped_refptr<DisplayCompositor> display_compositor_;
641 641
642 DISALLOW_COPY_AND_ASSIGN(WindowEventTargetingHelper); 642 DISALLOW_COPY_AND_ASSIGN(WindowEventTargetingHelper);
643 }; 643 };
644 644
645 // ----------------------------------------------------------------------------- 645 // -----------------------------------------------------------------------------
646 646
647 // Returns the first and only root of |tree|. If |tree| has zero or more than 647 // Returns the first and only root of |tree|. If |tree| has zero or more than
648 // one root returns null. 648 // one root returns null.
649 ServerWindow* FirstRoot(WindowTree* tree); 649 ServerWindow* FirstRoot(WindowTree* tree);
650 650
(...skipping 10 matching lines...) Expand all
661 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 661 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
662 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 662 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
663 ServerWindow* parent, 663 ServerWindow* parent,
664 ClientWindowId* client_id); 664 ClientWindowId* client_id);
665 665
666 } // namespace test 666 } // namespace test
667 } // namespace ws 667 } // namespace ws
668 } // namespace ui 668 } // namespace ui
669 669
670 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 670 #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