OLD | NEW |
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 #include "config.h" | 5 #include "config.h" |
6 #include "core/css/parser/CSSParser.h" | 6 #include "core/css/parser/CSSParser.h" |
7 | 7 |
8 #include "core/css/CSSKeyframeRule.h" | 8 #include "core/css/CSSKeyframeRule.h" |
9 #include "core/css/StyleColor.h" | 9 #include "core/css/StyleColor.h" |
10 #include "core/css/StyleRule.h" | 10 #include "core/css/StyleRule.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 PassRefPtrWillBeRawPtr<StyleKeyframe> CSSParser::parseKeyframeRule(const CSSPars
erContext& context, StyleSheetContents* styleSheet, const String& rule) | 59 PassRefPtrWillBeRawPtr<StyleKeyframe> CSSParser::parseKeyframeRule(const CSSPars
erContext& context, StyleSheetContents* styleSheet, const String& rule) |
60 { | 60 { |
61 return BisonCSSParser(context).parseKeyframeRule(styleSheet, rule); | 61 return BisonCSSParser(context).parseKeyframeRule(styleSheet, rule); |
62 } | 62 } |
63 | 63 |
64 bool CSSParser::parseSupportsCondition(const String& condition) | 64 bool CSSParser::parseSupportsCondition(const String& condition) |
65 { | 65 { |
66 return BisonCSSParser(CSSParserContext(HTMLStandardMode, 0)).parseSupportsCo
ndition(condition); | 66 return BisonCSSParser(CSSParserContext(HTMLStandardMode, 0)).parseSupportsCo
ndition(condition); |
67 } | 67 } |
68 | 68 |
69 PassRefPtr<CSSValueList> CSSParser::parseFontFaceValue(const AtomicString& fontF
ace) | 69 PassRefPtrWillBeRawPtr<CSSValueList> CSSParser::parseFontFaceValue(const AtomicS
tring& fontFace) |
70 { | 70 { |
71 return BisonCSSParser::parseFontFaceValue(fontFace); | 71 return BisonCSSParser::parseFontFaceValue(fontFace); |
72 } | 72 } |
73 | 73 |
74 PassRefPtr<CSSValue> CSSParser::parseAnimationTimingFunctionValue(const String&
timingFunction) | 74 PassRefPtrWillBeRawPtr<CSSValue> CSSParser::parseAnimationTimingFunctionValue(co
nst String& timingFunction) |
75 { | 75 { |
76 return BisonCSSParser::parseAnimationTimingFunctionValue(timingFunction); | 76 return BisonCSSParser::parseAnimationTimingFunctionValue(timingFunction); |
77 } | 77 } |
78 | 78 |
79 bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict) | 79 bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict) |
80 { | 80 { |
81 return BisonCSSParser::parseColor(color, string, strict); | 81 return BisonCSSParser::parseColor(color, string, strict); |
82 } | 82 } |
83 | 83 |
84 StyleColor CSSParser::colorFromRGBColorString(const String& string) | 84 StyleColor CSSParser::colorFromRGBColorString(const String& string) |
85 { | 85 { |
86 return BisonCSSParser::colorFromRGBColorString(string); | 86 return BisonCSSParser::colorFromRGBColorString(string); |
87 } | 87 } |
88 | 88 |
89 bool CSSParser::parseSystemColor(RGBA32& color, const String& colorString) | 89 bool CSSParser::parseSystemColor(RGBA32& color, const String& colorString) |
90 { | 90 { |
91 return BisonCSSParser::parseSystemColor(color, colorString); | 91 return BisonCSSParser::parseSystemColor(color, colorString); |
92 } | 92 } |
93 | 93 |
94 } // namespace blink | 94 } // namespace blink |
OLD | NEW |