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.h" | 5 #include "ash/wm/session_state_animator.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "ash/wm/window_animations.h" | 9 #include "ash/wm/window_animations.h" |
10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
11 #include "ui/aura/root_window.h" | 11 #include "ui/aura/window_event_dispatcher.h" |
12 #include "ui/compositor/layer_animation_observer.h" | 12 #include "ui/compositor/layer_animation_observer.h" |
13 #include "ui/compositor/layer_animation_sequence.h" | 13 #include "ui/compositor/layer_animation_sequence.h" |
14 #include "ui/compositor/scoped_layer_animation_settings.h" | 14 #include "ui/compositor/scoped_layer_animation_settings.h" |
15 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 break; | 608 break; |
609 case ANIMATION_UNDO_GRAYSCALE_BRIGHTNESS: | 609 case ANIMATION_UNDO_GRAYSCALE_BRIGHTNESS: |
610 StartGrayscaleBrightnessAnimationForWindow( | 610 StartGrayscaleBrightnessAnimationForWindow( |
611 window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); | 611 window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); |
612 break; | 612 break; |
613 } | 613 } |
614 } | 614 } |
615 | 615 |
616 } // namespace internal | 616 } // namespace internal |
617 } // namespace ash | 617 } // namespace ash |
OLD | NEW |