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

Side by Side Diff: ash/wm/screen_dimmer_unittest.cc

Issue 2907853002: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/shelf and ash/shell (removed some more wm_window.h) Created 3 years, 7 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/wm/screen_dimmer.cc ('k') | ash/wm/screen_pinning_controller.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/wm/screen_dimmer.h" 5 #include "ash/wm/screen_dimmer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/window_user_data.h" 12 #include "ash/window_user_data.h"
13 #include "ash/wm/window_dimmer.h" 13 #include "ash/wm/window_dimmer.h"
14 #include "ash/wm_window.h"
15 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
16 #include "ui/aura/test/test_windows.h" 15 #include "ui/aura/test/test_windows.h"
17 #include "ui/compositor/layer.h" 16 #include "ui/compositor/layer.h"
18 17
19 namespace ash { 18 namespace ash {
20 namespace test { 19 namespace test {
21 20
22 class ScreenDimmerTest : public AshTestBase { 21 class ScreenDimmerTest : public AshTestBase {
23 public: 22 public:
24 ScreenDimmerTest() {} 23 ScreenDimmerTest() {}
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 }; 128 };
130 129
131 // This test verifies ScreenDimmer can be destroyed after the shell. The 130 // This test verifies ScreenDimmer can be destroyed after the shell. The
132 // interesting part of this test is in TearDown(), which creates a ScreenDimmer 131 // interesting part of this test is in TearDown(), which creates a ScreenDimmer
133 // that is deleted after Shell. 132 // that is deleted after Shell.
134 TEST_F(ScreenDimmerShellDestructionTest, DontCrashIfScreenDimmerOutlivesShell) { 133 TEST_F(ScreenDimmerShellDestructionTest, DontCrashIfScreenDimmerOutlivesShell) {
135 } 134 }
136 135
137 } // namespace test 136 } // namespace test
138 } // namespace ash 137 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/screen_dimmer.cc ('k') | ash/wm/screen_pinning_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698