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

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

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/common/wm/screen_dimmer.h" 5 #include "ash/wm/screen_dimmer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/wm/window_dimmer.h"
10 #include "ash/common/wm_shell.h"
11 #include "ash/common/wm_window.h"
12 #include "ash/common/wm_window_user_data.h"
13 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
14 #include "ash/shell.h" 10 #include "ash/shell.h"
15 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/wm/window_dimmer.h"
13 #include "ash/wm_shell.h"
14 #include "ash/wm_window.h"
15 #include "ash/wm_window_user_data.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "ui/aura/test/test_windows.h" 17 #include "ui/aura/test/test_windows.h"
18 #include "ui/compositor/layer.h" 18 #include "ui/compositor/layer.h"
19 19
20 namespace ash { 20 namespace ash {
21 namespace test { 21 namespace test {
22 22
23 class ScreenDimmerTest : public AshTestBase { 23 class ScreenDimmerTest : public AshTestBase {
24 public: 24 public:
25 ScreenDimmerTest() {} 25 ScreenDimmerTest() {}
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 }; 131 };
132 132
133 // This test verifies ScreenDimmer can be destroyed after the shell. The 133 // This test verifies ScreenDimmer can be destroyed after the shell. The
134 // interesting part of this test is in TearDown(), which creates a ScreenDimmer 134 // interesting part of this test is in TearDown(), which creates a ScreenDimmer
135 // that is deleted after WmShell. 135 // that is deleted after WmShell.
136 TEST_F(ScreenDimmerShellDestructionTest, DontCrashIfScreenDimmerOutlivesShell) { 136 TEST_F(ScreenDimmerShellDestructionTest, DontCrashIfScreenDimmerOutlivesShell) {
137 } 137 }
138 138
139 } // namespace test 139 } // namespace test
140 } // namespace ash 140 } // 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