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/workspace/desktop_background_fade_controller.h" | 5 #include "ash/wm/workspace/desktop_background_fade_controller.h" |
6 | 6 |
7 #include "ash/wm/window_animations.h" | 7 #include "ash/wm/window_animations.h" |
8 #include "ash/wm/workspace/colored_window_controller.h" | 8 #include "ash/wm/workspace/colored_window_controller.h" |
9 #include "base/time.h" | 9 #include "base/time/time.h" |
10 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
11 #include "ui/compositor/scoped_layer_animation_settings.h" | 11 #include "ui/compositor/scoped_layer_animation_settings.h" |
12 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 DesktopBackgroundFadeController::DesktopBackgroundFadeController( | 17 DesktopBackgroundFadeController::DesktopBackgroundFadeController( |
18 aura::Window* parent, | 18 aura::Window* parent, |
19 aura::Window* position_above, | 19 aura::Window* position_above, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 DesktopBackgroundFadeController::~DesktopBackgroundFadeController() { | 56 DesktopBackgroundFadeController::~DesktopBackgroundFadeController() { |
57 StopObservingImplicitAnimations(); | 57 StopObservingImplicitAnimations(); |
58 } | 58 } |
59 | 59 |
60 void DesktopBackgroundFadeController::OnImplicitAnimationsCompleted() { | 60 void DesktopBackgroundFadeController::OnImplicitAnimationsCompleted() { |
61 window_controller_.reset(); | 61 window_controller_.reset(); |
62 } | 62 } |
63 | 63 |
64 } // namespace internal | 64 } // namespace internal |
65 } // namespace ash | 65 } // namespace ash |
OLD | NEW |