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

Side by Side Diff: ui/compositor/layer_animation_element.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 | Annotate | Revision Log
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/gfx/compositor/layer_animation_element.h" 5 #include "ui/compositor/layer_animation_element.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "ui/base/animation/tween.h" 8 #include "ui/base/animation/tween.h"
9 #include "ui/gfx/compositor/layer_animation_delegate.h" 9 #include "ui/compositor/layer_animation_delegate.h"
10 #include "ui/gfx/compositor/layer_animator.h" 10 #include "ui/compositor/layer_animator.h"
11 #include "ui/gfx/interpolated_transform.h" 11 #include "ui/gfx/interpolated_transform.h"
12 12
13 namespace ui { 13 namespace ui {
14 14
15 namespace { 15 namespace {
16 16
17 // Pause ----------------------------------------------------------------------- 17 // Pause -----------------------------------------------------------------------
18 class Pause : public LayerAnimationElement { 18 class Pause : public LayerAnimationElement {
19 public: 19 public:
20 Pause(const AnimatableProperties& properties, base::TimeDelta duration) 20 Pause(const AnimatableProperties& properties, base::TimeDelta duration)
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 return new VisibilityTransition(visibility, duration); 313 return new VisibilityTransition(visibility, duration);
314 } 314 }
315 315
316 // static 316 // static
317 LayerAnimationElement* LayerAnimationElement::CreatePauseElement( 317 LayerAnimationElement* LayerAnimationElement::CreatePauseElement(
318 const AnimatableProperties& properties, base::TimeDelta duration) { 318 const AnimatableProperties& properties, base::TimeDelta duration) {
319 return new Pause(properties, duration); 319 return new Pause(properties, duration);
320 } 320 }
321 321
322 } // namespace ui 322 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/layer_animation_element.h ('k') | ui/compositor/layer_animation_element_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698