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 <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "ash/accessibility_delegate.h" | 9 #include "ash/accessibility_delegate.h" |
10 #include "ash/ash_switches.h" | 10 #include "ash/ash_switches.h" |
11 #include "ash/cancel_mode.h" | 11 #include "ash/cancel_mode.h" |
12 #include "ash/metrics/user_metrics_recorder.h" | 12 #include "ash/metrics/user_metrics_recorder.h" |
13 #include "ash/shell.h" | 13 #include "ash/shell.h" |
14 #include "ash/shell_delegate.h" | 14 #include "ash/shell_delegate.h" |
15 #include "ash/shell_window_ids.h" | 15 #include "ash/shell_window_ids.h" |
16 #include "ash/wm/session_state_animator.h" | 16 #include "ash/wm/session_state_animator.h" |
17 #include "base/bind_helpers.h" | 17 #include "base/bind_helpers.h" |
18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
19 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
20 #include "ui/aura/root_window.h" | 20 #include "ui/aura/window_event_dispatcher.h" |
21 #include "ui/compositor/layer_animation_sequence.h" | 21 #include "ui/compositor/layer_animation_sequence.h" |
22 #include "ui/compositor/scoped_layer_animation_settings.h" | 22 #include "ui/compositor/scoped_layer_animation_settings.h" |
23 #include "ui/views/corewm/compound_event_filter.h" | 23 #include "ui/views/corewm/compound_event_filter.h" |
24 | 24 |
25 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
26 #include "base/sys_info.h" | 26 #include "base/sys_info.h" |
27 #include "media/audio/sounds/sounds_manager.h" | 27 #include "media/audio/sounds/sounds_manager.h" |
28 #endif | 28 #endif |
29 | 29 |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 unlocked_properties_->background_is_hidden) { | 665 unlocked_properties_->background_is_hidden) { |
666 animator_->StartAnimationWithObserver( | 666 animator_->StartAnimationWithObserver( |
667 internal::SessionStateAnimator::DESKTOP_BACKGROUND, | 667 internal::SessionStateAnimator::DESKTOP_BACKGROUND, |
668 internal::SessionStateAnimator::ANIMATION_FADE_OUT, | 668 internal::SessionStateAnimator::ANIMATION_FADE_OUT, |
669 speed, | 669 speed, |
670 observer); | 670 observer); |
671 } | 671 } |
672 } | 672 } |
673 | 673 |
674 } // namespace ash | 674 } // namespace ash |
OLD | NEW |