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

Side by Side Diff: services/ui/public/cpp/tests/test_window_tree_client_setup.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
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 #include "components/mus/public/cpp/tests/test_window_tree_client_setup.h" 5 #include "services/ui/public/cpp/tests/test_window_tree_client_setup.h"
6 6
7 #include "components/mus/public/cpp/tests/test_window_tree.h" 7 #include "services/ui/public/cpp/tests/test_window_tree.h"
8 #include "components/mus/public/cpp/tests/window_tree_client_private.h" 8 #include "services/ui/public/cpp/tests/window_tree_client_private.h"
9 #include "components/mus/public/cpp/window_tree_client.h" 9 #include "services/ui/public/cpp/window_tree_client.h"
10 #include "ui/display/display.h" 10 #include "ui/display/display.h"
11 11
12 namespace mus { 12 namespace mus {
13 13
14 TestWindowTreeClientSetup::TestWindowTreeClientSetup() {} 14 TestWindowTreeClientSetup::TestWindowTreeClientSetup() {}
15 15
16 TestWindowTreeClientSetup::~TestWindowTreeClientSetup() { 16 TestWindowTreeClientSetup::~TestWindowTreeClientSetup() {
17 std::unique_ptr<WindowTreeClient> window_tree_client = 17 std::unique_ptr<WindowTreeClient> window_tree_client =
18 std::move(window_tree_client_); 18 std::move(window_tree_client_);
19 if (window_tree_client) 19 if (window_tree_client)
(...skipping 30 matching lines...) Expand all
50 ->AddObserver(this); 50 ->AddObserver(this);
51 } 51 }
52 52
53 void TestWindowTreeClientSetup::OnDidDestroyClient( 53 void TestWindowTreeClientSetup::OnDidDestroyClient(
54 mus::WindowTreeClient* client) { 54 mus::WindowTreeClient* client) {
55 // See comment in header as to why we do this. 55 // See comment in header as to why we do this.
56 window_tree_client_.release(); 56 window_tree_client_.release();
57 } 57 }
58 58
59 } // namespace mus 59 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698