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

Side by Side Diff: services/ui/ws/server_window_drawn_tracker_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ws/server_window_drawn_tracker.h" 5 #include "services/ui/ws/server_window_drawn_tracker.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/mus/ws/server_window.h" 10 #include "services/ui/ws/server_window.h"
11 #include "components/mus/ws/server_window_drawn_tracker_observer.h" 11 #include "services/ui/ws/server_window_drawn_tracker_observer.h"
12 #include "components/mus/ws/test_server_window_delegate.h" 12 #include "services/ui/ws/test_server_window_delegate.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace mus { 15 namespace mus {
16 16
17 namespace ws { 17 namespace ws {
18 namespace { 18 namespace {
19 19
20 class TestServerWindowDrawnTrackerObserver 20 class TestServerWindowDrawnTrackerObserver
21 : public ServerWindowDrawnTrackerObserver { 21 : public ServerWindowDrawnTrackerObserver {
22 public: 22 public:
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 EXPECT_EQ(1u, drawn_observer.change_count()); 226 EXPECT_EQ(1u, drawn_observer.change_count());
227 EXPECT_EQ(&child111, drawn_observer.window()); 227 EXPECT_EQ(&child111, drawn_observer.window());
228 EXPECT_EQ(nullptr, drawn_observer.ancestor()); 228 EXPECT_EQ(nullptr, drawn_observer.ancestor());
229 EXPECT_TRUE(drawn_observer.is_drawn()); 229 EXPECT_TRUE(drawn_observer.is_drawn());
230 EXPECT_TRUE(child111.IsDrawn()); 230 EXPECT_TRUE(child111.IsDrawn());
231 } 231 }
232 232
233 } // namespace ws 233 } // namespace ws
234 234
235 } // namespace mus 235 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/server_window_drawn_tracker_observer.h ('k') | services/ui/ws/server_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698