OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
8 #include "ash/common/shelf/shelf_widget.h" | 8 #include "ash/common/shelf/shelf_widget.h" |
9 #include "ash/common/shelf/wm_shelf.h" | 9 #include "ash/common/shelf/wm_shelf.h" |
10 #include "ash/common/shell_window_ids.h" | |
11 #include "ash/common/test/test_session_state_delegate.h" | 10 #include "ash/common/test/test_session_state_delegate.h" |
12 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | 11 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
13 #include "ash/common/wm/maximize_mode/maximize_mode_window_manager.h" | 12 #include "ash/common/wm/maximize_mode/maximize_mode_window_manager.h" |
14 #include "ash/common/wm/mru_window_tracker.h" | 13 #include "ash/common/wm/mru_window_tracker.h" |
15 #include "ash/common/wm/window_state.h" | 14 #include "ash/common/wm/window_state.h" |
16 #include "ash/common/wm/wm_event.h" | 15 #include "ash/common/wm/wm_event.h" |
17 #include "ash/common/wm_shell.h" | 16 #include "ash/common/wm_shell.h" |
18 #include "ash/content/shell_content_state.h" | 17 #include "ash/content/shell_content_state.h" |
| 18 #include "ash/public/cpp/shell_window_ids.h" |
19 #include "ash/shell.h" | 19 #include "ash/shell.h" |
20 #include "ash/test/ash_test_base.h" | 20 #include "ash/test/ash_test_base.h" |
21 #include "ash/test/ash_test_environment_content.h" | 21 #include "ash/test/ash_test_environment_content.h" |
22 #include "ash/test/ash_test_helper.h" | 22 #include "ash/test/ash_test_helper.h" |
23 #include "ash/test/test_shell_delegate.h" | 23 #include "ash/test/test_shell_delegate.h" |
24 #include "ash/wm/window_state_aura.h" | 24 #include "ash/wm/window_state_aura.h" |
25 #include "ash/wm/window_util.h" | 25 #include "ash/wm/window_util.h" |
26 #include "base/command_line.h" | 26 #include "base/command_line.h" |
27 #include "base/compiler_specific.h" | 27 #include "base/compiler_specific.h" |
28 #include "base/logging.h" | 28 #include "base/logging.h" |
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1520 | 1520 |
1521 mru_list = WmWindowAura::ToAuraWindows( | 1521 mru_list = WmWindowAura::ToAuraWindows( |
1522 WmShell::Get()->mru_window_tracker()->BuildMruWindowList()); | 1522 WmShell::Get()->mru_window_tracker()->BuildMruWindowList()); |
1523 EXPECT_EQ(mru_list[0], window(0)); | 1523 EXPECT_EQ(mru_list[0], window(0)); |
1524 EXPECT_EQ(mru_list[1], window(1)); | 1524 EXPECT_EQ(mru_list[1], window(1)); |
1525 EXPECT_EQ(mru_list[2], window(2)); | 1525 EXPECT_EQ(mru_list[2], window(2)); |
1526 } | 1526 } |
1527 | 1527 |
1528 } // namespace test | 1528 } // namespace test |
1529 } // namespace ash | 1529 } // namespace ash |
OLD | NEW |