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

Side by Side Diff: third_party/WebKit/Source/platform/animation/CompositorAnimationHost.h

Issue 1950243005: Communicate MT changes to impl-only scroll offset animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: apply initial feedback comments Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositorAnimationHost_h
6 #define CompositorAnimationHost_h
7
8 #include "base/memory/ref_counted.h"
9 #include "platform/PlatformExport.h"
10 #include "wtf/Noncopyable.h"
11
12 #include <memory>
13
14 namespace cc {
15 class AnimationHost;
16 struct ScrollOffsetAnimationUpdate;
17 }
18
19 namespace blink {
20
21 // A compositor representation for cc::AnimationHost.
22 // This class wraps cc::AnimationHost and is currently only created from
23 // CompositorAnimationTimeline::compositorAnimationHost.
24 class PLATFORM_EXPORT CompositorAnimationHost {
25 public:
26 CompositorAnimationHost(cc::AnimationHost*);
27
28 cc::AnimationHost* animationHost() const;
29
30 void addImplOnlyScrollOffsetAnimationUpdate(cc::ScrollOffsetAnimationUpdate) ;
skobes 2016/05/07 00:25:16 Couldn't this just be called updateImplOnlyScrollO
ymalik 2016/05/10 19:40:59 Done.
31
32 private:
33 cc::AnimationHost* m_animationHost;
34 };
35
36 } // namespace blink
37
38 #endif // CompositorAnimationTimeline_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698