| 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_animator_impl.h" | 5 #include "ash/wm/session_state_animator_impl.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/common/shell_window_ids.h" |
| 9 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | |
| 11 #include "ash/wm/window_animations.h" | 11 #include "ash/wm/window_animations.h" |
| 12 #include "ui/aura/client/aura_constants.h" | 12 #include "ui/aura/client/aura_constants.h" |
| 13 #include "ui/aura/window_event_dispatcher.h" | 13 #include "ui/aura/window_event_dispatcher.h" |
| 14 #include "ui/compositor/layer_animation_observer.h" | 14 #include "ui/compositor/layer_animation_observer.h" |
| 15 #include "ui/compositor/layer_animation_sequence.h" | 15 #include "ui/compositor/layer_animation_sequence.h" |
| 16 #include "ui/compositor/scoped_layer_animation_settings.h" | 16 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 17 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
| 18 | 18 |
| 19 namespace ash { | 19 namespace ash { |
| 20 namespace { | 20 namespace { |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 window, 1.0, duration, gfx::Tween::EASE_IN, observer); | 661 window, 1.0, duration, gfx::Tween::EASE_IN, observer); |
| 662 break; | 662 break; |
| 663 case ANIMATION_UNDO_GRAYSCALE_BRIGHTNESS: | 663 case ANIMATION_UNDO_GRAYSCALE_BRIGHTNESS: |
| 664 StartGrayscaleBrightnessAnimationForWindow( | 664 StartGrayscaleBrightnessAnimationForWindow( |
| 665 window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); | 665 window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); |
| 666 break; | 666 break; |
| 667 } | 667 } |
| 668 } | 668 } |
| 669 | 669 |
| 670 } // namespace ash | 670 } // namespace ash |
| OLD | NEW |