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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.h

Issue 2869183002: Initial implementation of WorkletAnimation (Closed)
Patch Set: Make WorkletAnimation subclass Animation Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index d95c92a032f267b10d80f0007e69fbeff5bc4b2f..c303175e887a638acfd631ccdfb0680f05491919 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -56,11 +56,11 @@ class Element;
class ExceptionState;
class TreeScope;
-class CORE_EXPORT Animation final : public EventTargetWithInlineData,
- public ActiveScriptWrappable<Animation>,
- public ContextLifecycleObserver,
- public CompositorAnimationDelegate,
- public CompositorAnimationPlayerClient {
+class CORE_EXPORT Animation : public EventTargetWithInlineData,
+ public ActiveScriptWrappable<Animation>,
+ public ContextLifecycleObserver,
+ public CompositorAnimationDelegate,
+ public CompositorAnimationPlayerClient {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(Animation);
@@ -200,13 +200,13 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData,
DECLARE_VIRTUAL_TRACE();
protected:
+ Animation(ExecutionContext*, AnimationTimeline&, AnimationEffectReadOnly*);
+
DispatchEventResult DispatchEventInternal(Event*) override;
void AddedEventListener(const AtomicString& event_type,
RegisteredEventListener&) override;
private:
- Animation(ExecutionContext*, AnimationTimeline&, AnimationEffectReadOnly*);
-
void ClearOutdated();
void ForceServiceOnNextFrame();

Powered by Google App Engine
This is Rietveld 408576698