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

Side by Side Diff: services/ui/ws/transient_windows_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
« no previous file with comments | « services/ui/ws/touch_controller.cc ('k') | services/ui/ws/user_activity_monitor.h » ('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 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 "base/macros.h" 5 #include "base/macros.h"
6 #include "base/strings/string_number_conversions.h" 6 #include "base/strings/string_number_conversions.h"
7 #include "components/mus/ws/server_window.h" 7 #include "services/ui/ws/server_window.h"
8 #include "components/mus/ws/server_window_observer.h" 8 #include "services/ui/ws/server_window_observer.h"
9 #include "components/mus/ws/test_server_window_delegate.h" 9 #include "services/ui/ws/test_server_window_delegate.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace mus { 12 namespace mus {
13 namespace ws { 13 namespace ws {
14 14
15 namespace { 15 namespace {
16 16
17 class TestTransientWindowObserver : public ServerWindowObserver { 17 class TestTransientWindowObserver : public ServerWindowObserver {
18 public: 18 public:
19 TestTransientWindowObserver() : add_count_(0), remove_count_(0) {} 19 TestTransientWindowObserver() : add_count_(0), remove_count_(0) {}
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 parent->RemoveTransientWindow(w1.get()); 334 parent->RemoveTransientWindow(w1.get());
335 EXPECT_EQ(1, test_observer.add_count()); 335 EXPECT_EQ(1, test_observer.add_count());
336 EXPECT_EQ(1, test_observer.remove_count()); 336 EXPECT_EQ(1, test_observer.remove_count());
337 337
338 parent->RemoveObserver(&test_observer); 338 parent->RemoveObserver(&test_observer);
339 } 339 }
340 340
341 } // namespace ws 341 } // namespace ws
342 } // namespace mus 342 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/touch_controller.cc ('k') | services/ui/ws/user_activity_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698