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

Side by Side Diff: third_party/WebKit/Source/core/animation/Animation.h

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 namespace blink { 50 namespace blink {
51 51
52 class AnimationTimeline; 52 class AnimationTimeline;
53 class CompositorAnimationPlayer; 53 class CompositorAnimationPlayer;
54 class Element; 54 class Element;
55 class ExceptionState; 55 class ExceptionState;
56 class TreeScope; 56 class TreeScope;
57 57
58 class CORE_EXPORT Animation final : public EventTargetWithInlineData, 58 class CORE_EXPORT Animation final : public EventTargetWithInlineData,
59 public ActiveScriptWrappable, 59 public ActiveScriptWrappable<Animation>,
60 public SuspendableObject, 60 public SuspendableObject,
61 public CompositorAnimationDelegate, 61 public CompositorAnimationDelegate,
62 public CompositorAnimationPlayerClient { 62 public CompositorAnimationPlayerClient {
63 DEFINE_WRAPPERTYPEINFO(); 63 DEFINE_WRAPPERTYPEINFO();
64 USING_GARBAGE_COLLECTED_MIXIN(Animation); 64 USING_GARBAGE_COLLECTED_MIXIN(Animation);
65 65
66 public: 66 public:
67 enum AnimationPlayState { Unset, Idle, Pending, Running, Paused, Finished }; 67 enum AnimationPlayState { Unset, Idle, Pending, Running, Paused, Finished };
68 68
69 static Animation* create(AnimationEffectReadOnly*, AnimationTimeline*); 69 static Animation* create(AnimationEffectReadOnly*, AnimationTimeline*);
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 bool m_currentTimePending; 338 bool m_currentTimePending;
339 bool m_stateIsBeingUpdated; 339 bool m_stateIsBeingUpdated;
340 340
341 bool m_effectSuppressed; 341 bool m_effectSuppressed;
342 }; 342 };
343 343
344 } // namespace blink 344 } // namespace blink
345 345
346 #endif // Animation_h 346 #endif // Animation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698