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

Side by Side Diff: cc/layer_animation_controller.h

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd Created 8 years, 1 month 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 | « cc/io_surface_layer.cc ('k') | cc/layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CCLayerAnimationController_h 5 #ifndef CCLayerAnimationController_h
6 #define CCLayerAnimationController_h 6 #define CCLayerAnimationController_h
7 7
8 #include "cc/animation_events.h" 8 #include "cc/animation_events.h"
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "cc/scoped_ptr_vector.h" 13 #include "cc/scoped_ptr_vector.h"
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebTransformationMatrix; 16 class WebTransformationMatrix;
17 } 17 }
18 18
19 namespace cc { 19 namespace cc {
20 20
21 class Animation; 21 class Animation;
22 class IntSize;
23 class KeyframeValueList; 22 class KeyframeValueList;
24 23
25 class LayerAnimationControllerClient { 24 class LayerAnimationControllerClient {
26 public: 25 public:
27 virtual ~LayerAnimationControllerClient() { } 26 virtual ~LayerAnimationControllerClient() { }
28 27
29 virtual int id() const = 0; 28 virtual int id() const = 0;
30 virtual void setOpacityFromAnimation(float) = 0; 29 virtual void setOpacityFromAnimation(float) = 0;
31 virtual float opacity() const = 0; 30 virtual float opacity() const = 0;
32 virtual void setTransformFromAnimation(const WebKit::WebTransformationMatrix &) = 0; 31 virtual void setTransformFromAnimation(const WebKit::WebTransformationMatrix &) = 0;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 LayerAnimationControllerClient* m_client; 103 LayerAnimationControllerClient* m_client;
105 ScopedPtrVector<ActiveAnimation> m_activeAnimations; 104 ScopedPtrVector<ActiveAnimation> m_activeAnimations;
106 105
107 DISALLOW_COPY_AND_ASSIGN(LayerAnimationController); 106 DISALLOW_COPY_AND_ASSIGN(LayerAnimationController);
108 }; 107 };
109 108
110 } // namespace cc 109 } // namespace cc
111 110
112 #endif // CCLayerAnimationController_h 111 #endif // CCLayerAnimationController_h
OLDNEW
« no previous file with comments | « cc/io_surface_layer.cc ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698