| 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 "ash/wm/lock_state_controller.h" | 5 #include "ash/wm/lock_state_controller.h" |
| 6 | 6 |
| 7 #include "ash/session/session_state_delegate.h" | 7 #include "ash/session/session_state_delegate.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "ash/test/test_lock_state_controller_delegate.h" | 10 #include "ash/test/test_lock_state_controller_delegate.h" |
| 11 #include "ash/test/test_screenshot_delegate.h" | 11 #include "ash/test/test_screenshot_delegate.h" |
| 12 #include "ash/test/test_session_state_animator.h" | 12 #include "ash/test/test_session_state_animator.h" |
| 13 #include "ash/test/test_shell_delegate.h" | 13 #include "ash/test/test_shell_delegate.h" |
| 14 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 14 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 15 #include "ash/wm/power_button_controller.h" | 15 #include "ash/wm/power_button_controller.h" |
| 16 #include "ash/wm/session_state_animator.h" | 16 #include "ash/wm/session_state_animator.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
| 19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 20 #include "ui/events/test/event_generator.h" | 20 #include "ui/events/test/event_generator.h" |
| 21 #include "ui/gfx/size.h" | 21 #include "ui/gfx/geometry/size.h" |
| 22 | 22 |
| 23 #if defined(OS_CHROMEOS) | 23 #if defined(OS_CHROMEOS) |
| 24 #include "ui/display/chromeos/display_configurator.h" | 24 #include "ui/display/chromeos/display_configurator.h" |
| 25 #include "ui/display/chromeos/test/test_display_snapshot.h" | 25 #include "ui/display/chromeos/test/test_display_snapshot.h" |
| 26 #include "ui/display/types/display_constants.h" | 26 #include "ui/display/types/display_constants.h" |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 namespace ash { | 29 namespace ash { |
| 30 namespace test { | 30 namespace test { |
| 31 namespace { | 31 namespace { |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 ReleasePowerButton(); | 1107 ReleasePowerButton(); |
| 1108 | 1108 |
| 1109 ExpectPreLockAnimationStarted(); | 1109 ExpectPreLockAnimationStarted(); |
| 1110 | 1110 |
| 1111 test_animator_->CompleteAllAnimations(true); | 1111 test_animator_->CompleteAllAnimations(true); |
| 1112 EXPECT_EQ(1, lock_state_controller_delegate_->num_lock_requests()); | 1112 EXPECT_EQ(1, lock_state_controller_delegate_->num_lock_requests()); |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 } // namespace test | 1115 } // namespace test |
| 1116 } // namespace ash | 1116 } // namespace ash |
| OLD | NEW |