Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: ui/wm/core/window_animations.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "ui/wm/core/window_animations.h" 5 #include "ui/wm/core/window_animations.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 #include "ui/aura/window_observer.h" 21 #include "ui/aura/window_observer.h"
22 #include "ui/aura/window_property.h" 22 #include "ui/aura/window_property.h"
23 #include "ui/compositor/compositor_observer.h" 23 #include "ui/compositor/compositor_observer.h"
24 #include "ui/compositor/layer.h" 24 #include "ui/compositor/layer.h"
25 #include "ui/compositor/layer_animation_observer.h" 25 #include "ui/compositor/layer_animation_observer.h"
26 #include "ui/compositor/layer_animation_sequence.h" 26 #include "ui/compositor/layer_animation_sequence.h"
27 #include "ui/compositor/layer_animator.h" 27 #include "ui/compositor/layer_animator.h"
28 #include "ui/compositor/layer_tree_owner.h" 28 #include "ui/compositor/layer_tree_owner.h"
29 #include "ui/compositor/scoped_layer_animation_settings.h" 29 #include "ui/compositor/scoped_layer_animation_settings.h"
30 #include "ui/gfx/animation/animation.h" 30 #include "ui/gfx/animation/animation.h"
31 #include "ui/gfx/geometry/vector2d.h"
31 #include "ui/gfx/interpolated_transform.h" 32 #include "ui/gfx/interpolated_transform.h"
32 #include "ui/gfx/rect_conversions.h" 33 #include "ui/gfx/rect_conversions.h"
33 #include "ui/gfx/screen.h" 34 #include "ui/gfx/screen.h"
34 #include "ui/gfx/vector2d.h"
35 #include "ui/gfx/vector3d_f.h" 35 #include "ui/gfx/vector3d_f.h"
36 #include "ui/wm/core/window_util.h" 36 #include "ui/wm/core/window_util.h"
37 #include "ui/wm/core/wm_core_switches.h" 37 #include "ui/wm/core/wm_core_switches.h"
38 #include "ui/wm/public/animation_host.h" 38 #include "ui/wm/public/animation_host.h"
39 39
40 DECLARE_WINDOW_PROPERTY_TYPE(int) 40 DECLARE_WINDOW_PROPERTY_TYPE(int)
41 DECLARE_WINDOW_PROPERTY_TYPE(wm::WindowVisibilityAnimationType) 41 DECLARE_WINDOW_PROPERTY_TYPE(wm::WindowVisibilityAnimationType)
42 DECLARE_WINDOW_PROPERTY_TYPE(wm::WindowVisibilityAnimationTransition) 42 DECLARE_WINDOW_PROPERTY_TYPE(wm::WindowVisibilityAnimationTransition)
43 DECLARE_WINDOW_PROPERTY_TYPE(float) 43 DECLARE_WINDOW_PROPERTY_TYPE(float)
44 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(WM_EXPORT, bool) 44 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(WM_EXPORT, bool)
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 } 649 }
650 650
651 bool WindowAnimationsDisabled(aura::Window* window) { 651 bool WindowAnimationsDisabled(aura::Window* window) {
652 return (!gfx::Animation::ShouldRenderRichAnimation() || (window && 652 return (!gfx::Animation::ShouldRenderRichAnimation() || (window &&
653 window->GetProperty(aura::client::kAnimationsDisabledKey)) || 653 window->GetProperty(aura::client::kAnimationsDisabledKey)) ||
654 CommandLine::ForCurrentProcess()->HasSwitch( 654 CommandLine::ForCurrentProcess()->HasSwitch(
655 switches::kWindowAnimationsDisabled)); 655 switches::kWindowAnimationsDisabled));
656 } 656 }
657 657
658 } // namespace wm 658 } // namespace wm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698