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

Side by Side Diff: ui/compositor/layer_animation_delegate.h

Issue 12822004: Part 3 of cc/ directory shuffles: animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « ui/compositor/layer.h ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_ 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_
6 #define UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_ 6 #define UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/animation.h" 9 #include "cc/animation/animation.h"
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
11 #include "ui/compositor/compositor_export.h" 11 #include "ui/compositor/compositor_export.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 // Layer animations interact with the layers using this interface. 17 // Layer animations interact with the layers using this interface.
18 class COMPOSITOR_EXPORT LayerAnimationDelegate { 18 class COMPOSITOR_EXPORT LayerAnimationDelegate {
19 public: 19 public:
(...skipping 16 matching lines...) Expand all
36 virtual void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) = 0; 36 virtual void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) = 0;
37 virtual void RemoveThreadedAnimation(int animation_id) = 0; 37 virtual void RemoveThreadedAnimation(int animation_id) = 0;
38 38
39 protected: 39 protected:
40 virtual ~LayerAnimationDelegate() {} 40 virtual ~LayerAnimationDelegate() {}
41 }; 41 };
42 42
43 } // namespace ui 43 } // namespace ui
44 44
45 #endif // UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_ 45 #endif // UI_COMPOSITOR_LAYER_ANIMATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer.h ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698