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

Side by Side Diff: ash/mus/test/wm_test_screen.cc

Issue 2029883002: Moves mash/wm into ash/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_static_assert
Patch Set: move comment Created 4 years, 6 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 | « ash/mus/test/wm_test_screen.h ('k') | ash/mus/user_window_controller_impl.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 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 "mash/wm/test/wm_test_screen.h" 5 #include "ash/mus/test/wm_test_screen.h"
6 6
7 #include "ui/aura/window.h" 7 #include "ui/aura/window.h"
8 #include "ui/display/display_finder.h" 8 #include "ui/display/display_finder.h"
9 9
10 #undef NOTIMPLEMENTED 10 #undef NOTIMPLEMENTED
11 #define NOTIMPLEMENTED() DVLOG(1) << "notimplemented" 11 #define NOTIMPLEMENTED() DVLOG(1) << "notimplemented"
12 12
13 namespace mash { 13 namespace ash {
14 namespace wm { 14 namespace mus {
15 15
16 WmTestScreen::WmTestScreen() { 16 WmTestScreen::WmTestScreen() {
17 display::Screen::SetScreenInstance(this); 17 display::Screen::SetScreenInstance(this);
18 } 18 }
19 19
20 WmTestScreen::~WmTestScreen() { 20 WmTestScreen::~WmTestScreen() {
21 if (display::Screen::GetScreen() == this) 21 if (display::Screen::GetScreen() == this)
22 display::Screen::SetScreenInstance(nullptr); 22 display::Screen::SetScreenInstance(nullptr);
23 } 23 }
24 24
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 74
75 void WmTestScreen::AddObserver(display::DisplayObserver* observer) { 75 void WmTestScreen::AddObserver(display::DisplayObserver* observer) {
76 display_list_.AddObserver(observer); 76 display_list_.AddObserver(observer);
77 } 77 }
78 78
79 void WmTestScreen::RemoveObserver(display::DisplayObserver* observer) { 79 void WmTestScreen::RemoveObserver(display::DisplayObserver* observer) {
80 display_list_.RemoveObserver(observer); 80 display_list_.RemoveObserver(observer);
81 } 81 }
82 82
83 } // namespace wm 83 } // namespace mus
84 } // namespace mash 84 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/test/wm_test_screen.h ('k') | ash/mus/user_window_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698