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

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

Issue 2334013003: Moves ScreenDimmer to ash/common (Closed)
Patch Set: Created 4 years, 3 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 (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/common/wm/screen_dimmer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/aura/wm_window_aura.h" 9 #include "ash/aura/wm_window_aura.h"
10 #include "ash/common/wm/window_dimmer.h" 10 #include "ash/common/wm/window_dimmer.h"
11 #include "ash/common/wm_shell.h" 11 #include "ash/common/wm_shell.h"
12 #include "ash/common/wm_window_user_data.h" 12 #include "ash/common/wm_window_user_data.h"
13 #include "ash/root_window_controller.h" 13 #include "ash/root_window_controller.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/test/ash_test_base.h" 15 #include "ash/test/ash_test_base.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 dim_iter = std::find(root_window->children().begin(), 116 dim_iter = std::find(root_window->children().begin(),
117 root_window->children().end(), GetDimWindow()); 117 root_window->children().end(), GetDimWindow());
118 ASSERT_TRUE(dim_iter != root_window->children().end()); 118 ASSERT_TRUE(dim_iter != root_window->children().end());
119 // Dom layer is at the bottom. 119 // Dom layer is at the bottom.
120 EXPECT_EQ(*dim_iter, *root_window->children().begin()); 120 EXPECT_EQ(*dim_iter, *root_window->children().begin());
121 } 121 }
122 122
123 } // namespace test 123 } // namespace test
124 } // namespace ash 124 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/screen_dimmer.cc ('k') | chrome/browser/chromeos/dbus/chrome_display_power_service_provider_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698