| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights | 6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights |
| 7 * reserved. | 7 * reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 bool important, | 78 bool important, |
| 79 bool implicit = false); | 79 bool implicit = false); |
| 80 void AddExpandedPropertyForValue(CSSPropertyID prop_id, | 80 void AddExpandedPropertyForValue(CSSPropertyID prop_id, |
| 81 const CSSValue&, | 81 const CSSValue&, |
| 82 bool); | 82 bool); |
| 83 | 83 |
| 84 bool ConsumeBorder(bool important); | 84 bool ConsumeBorder(bool important); |
| 85 | 85 |
| 86 bool ParseShorthand(CSSPropertyID, bool important); | 86 bool ParseShorthand(CSSPropertyID, bool important); |
| 87 bool ConsumeShorthandGreedily(const StylePropertyShorthand&, bool important); | 87 bool ConsumeShorthandGreedily(const StylePropertyShorthand&, bool important); |
| 88 bool Consume2Values(const StylePropertyShorthand&, bool important); |
| 88 bool Consume4Values(const StylePropertyShorthand&, bool important); | 89 bool Consume4Values(const StylePropertyShorthand&, bool important); |
| 89 | 90 |
| 90 // Legacy parsing allows <string>s for animation-name | 91 // Legacy parsing allows <string>s for animation-name |
| 91 bool ConsumeAnimationShorthand(const StylePropertyShorthand&, | 92 bool ConsumeAnimationShorthand(const StylePropertyShorthand&, |
| 92 bool use_legacy_parsing, | 93 bool use_legacy_parsing, |
| 93 bool important); | 94 bool important); |
| 94 bool ConsumeBackgroundShorthand(const StylePropertyShorthand&, | 95 bool ConsumeBackgroundShorthand(const StylePropertyShorthand&, |
| 95 bool important); | 96 bool important); |
| 96 bool ConsumeOffsetShorthand(bool important); | 97 bool ConsumeOffsetShorthand(bool important); |
| 97 | 98 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 127 // Outputs: | 128 // Outputs: |
| 128 HeapVector<CSSProperty, 256>* parsed_properties_; | 129 HeapVector<CSSProperty, 256>* parsed_properties_; |
| 129 }; | 130 }; |
| 130 | 131 |
| 131 CSSPropertyID UnresolvedCSSPropertyID(StringView); | 132 CSSPropertyID UnresolvedCSSPropertyID(StringView); |
| 132 CSSValueID CssValueKeywordID(StringView); | 133 CSSValueID CssValueKeywordID(StringView); |
| 133 | 134 |
| 134 } // namespace blink | 135 } // namespace blink |
| 135 | 136 |
| 136 #endif // CSSPropertyParser_h | 137 #endif // CSSPropertyParser_h |
| OLD | NEW |