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

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

Issue 2047293002: Code cleanup: Replace Element with Document in element.animate() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_killForceConversionsToAnimatableValues
Patch Set: Fix unit test crash. Created 4 years, 5 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 AnimationInputHelpers_h 5 #ifndef AnimationInputHelpers_h
6 #define AnimationInputHelpers_h 6 #define AnimationInputHelpers_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
11 #include "wtf/Forward.h" 11 #include "wtf/Forward.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Document; 15 class Document;
16 class Element; 16 class Element;
17 class ExceptionState; 17 class ExceptionState;
18 class TimingFunction; 18 class TimingFunction;
19 class QualifiedName; 19 class QualifiedName;
20 20
21 class CORE_EXPORT AnimationInputHelpers { 21 class CORE_EXPORT AnimationInputHelpers {
22 STATIC_ONLY(AnimationInputHelpers); 22 STATIC_ONLY(AnimationInputHelpers);
23 public: 23 public:
24 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&); 24 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&);
25 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&); 25 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&) ;
26 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, E lement&); 26 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&);
27 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t*, ExceptionState&); 27 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t&, ExceptionState&);
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif // AnimationInputHelpers_h 32 #endif // AnimationInputHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698