OLD | NEW |
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 Loading... |
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 |
OLD | NEW |