| 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/window_animations.h" | 5 #include "ash/wm/window_animations.h" |
| 6 | 6 |
| 7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
| 8 #include "ash/launcher/launcher.h" | 8 #include "ash/launcher/launcher.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| 16 #include "ui/aura/client/aura_constants.h" | 16 #include "ui/aura/client/aura_constants.h" |
| 17 #include "ui/aura/dip_util.h" | 17 #include "ui/aura/dip_util.h" |
| 18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
| 19 #include "ui/aura/window_observer.h" | 19 #include "ui/aura/window_observer.h" |
| 20 #include "ui/aura/window_property.h" | 20 #include "ui/aura/window_property.h" |
| 21 #include "ui/gfx/compositor/layer.h" | 21 #include "ui/compositor/layer.h" |
| 22 #include "ui/gfx/compositor/layer_animation_observer.h" | 22 #include "ui/compositor/layer_animation_observer.h" |
| 23 #include "ui/gfx/compositor/layer_animation_sequence.h" | 23 #include "ui/compositor/layer_animation_sequence.h" |
| 24 #include "ui/gfx/compositor/layer_animator.h" | 24 #include "ui/compositor/layer_animator.h" |
| 25 #include "ui/gfx/compositor/scoped_layer_animation_settings.h" | 25 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 26 #include "ui/gfx/interpolated_transform.h" | 26 #include "ui/gfx/interpolated_transform.h" |
| 27 #include "ui/gfx/screen.h" | 27 #include "ui/gfx/screen.h" |
| 28 | 28 |
| 29 DECLARE_WINDOW_PROPERTY_TYPE(int) | 29 DECLARE_WINDOW_PROPERTY_TYPE(int) |
| 30 DECLARE_WINDOW_PROPERTY_TYPE(ash::WindowVisibilityAnimationType) | 30 DECLARE_WINDOW_PROPERTY_TYPE(ash::WindowVisibilityAnimationType) |
| 31 DECLARE_WINDOW_PROPERTY_TYPE(ash::WindowVisibilityAnimationTransition) | 31 DECLARE_WINDOW_PROPERTY_TYPE(ash::WindowVisibilityAnimationTransition) |
| 32 | 32 |
| 33 using base::TimeDelta; | 33 using base::TimeDelta; |
| 34 | 34 |
| 35 namespace ash { | 35 namespace ash { |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 } | 508 } |
| 509 | 509 |
| 510 } // namespace internal | 510 } // namespace internal |
| 511 | 511 |
| 512 ui::ImplicitAnimationObserver* CreateHidingWindowAnimationObserver( | 512 ui::ImplicitAnimationObserver* CreateHidingWindowAnimationObserver( |
| 513 aura::Window* window) { | 513 aura::Window* window) { |
| 514 return new internal::HidingWindowAnimationObserver(window); | 514 return new internal::HidingWindowAnimationObserver(window); |
| 515 } | 515 } |
| 516 | 516 |
| 517 } // namespace ash | 517 } // namespace ash |
| OLD | NEW |