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/session_state_controller_impl2.h" | 5 #include "ash/wm/session_state_controller_impl2.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/shell_window_ids.h" | 9 #include "ash/shell_window_ids.h" |
10 #include "ash/test/ash_test_base.h" | 10 #include "ash/test/ash_test_base.h" |
11 #include "ash/test/test_shell_delegate.h" | 11 #include "ash/test/test_shell_delegate.h" |
12 #include "ash/wm/cursor_manager.h" | |
13 #include "ash/wm/power_button_controller.h" | 12 #include "ash/wm/power_button_controller.h" |
14 #include "ash/wm/session_state_animator.h" | 13 #include "ash/wm/session_state_animator.h" |
15 #include "ash/wm/session_state_controller.h" | 14 #include "ash/wm/session_state_controller.h" |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
18 #include "base/time.h" | 17 #include "base/time.h" |
19 #include "ui/aura/env.h" | 18 #include "ui/aura/env.h" |
20 #include "ui/aura/root_window.h" | 19 #include "ui/aura/root_window.h" |
21 #include "ui/aura/test/event_generator.h" | 20 #include "ui/aura/test/event_generator.h" |
22 #include "ui/compositor/layer_animator.h" | 21 #include "ui/compositor/layer_animator.h" |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 | 1055 |
1057 Advance(SessionStateAnimator::ANIMATION_SPEED_MOVE_WINDOWS); | 1056 Advance(SessionStateAnimator::ANIMATION_SPEED_MOVE_WINDOWS); |
1058 ExpectUnlockAfterUIDestroyedAnimationFinished(); | 1057 ExpectUnlockAfterUIDestroyedAnimationFinished(); |
1059 EXPECT_TRUE(IsBackgroundHidden()); | 1058 EXPECT_TRUE(IsBackgroundHidden()); |
1060 | 1059 |
1061 ExpectUnlockedState(); | 1060 ExpectUnlockedState(); |
1062 } | 1061 } |
1063 | 1062 |
1064 } // namespace test | 1063 } // namespace test |
1065 } // namespace ash | 1064 } // namespace ash |
OLD | NEW |