Chromium Code Reviews

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

Issue 2007073003: Move CSSPropertyID templates instantiations to a separate file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove more includes from CSSPropertyNames.h Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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/Forward.h" 11 #include "wtf/Forward.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
15 class Document;
14 class Element; 16 class Element;
15 class ExceptionState; 17 class ExceptionState;
16 class TimingFunction; 18 class TimingFunction;
17 class QualifiedName; 19 class QualifiedName;
18 20
19 class CORE_EXPORT AnimationInputHelpers { 21 class CORE_EXPORT AnimationInputHelpers {
20 STATIC_ONLY(AnimationInputHelpers); 22 STATIC_ONLY(AnimationInputHelpers);
21 public: 23 public:
22 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&); 24 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&);
23 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&); 25 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&);
24 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, E lement&); 26 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, E lement&);
25 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t*, ExceptionState&); 27 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t*, ExceptionState&);
26 }; 28 };
27 29
28 } // namespace blink 30 } // namespace blink
29 31
30 #endif // AnimationInputHelpers_h 32 #endif // AnimationInputHelpers_h
OLDNEW

Powered by Google App Engine