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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Replace ImplicitProperty by IsImplicitProperty Created 3 years, 6 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 /* 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool ConsumeGridItemPositionShorthand(CSSPropertyID, bool important); 101 bool ConsumeGridItemPositionShorthand(CSSPropertyID, bool important);
102 bool ConsumeGridTemplateRowsAndAreasAndColumns(CSSPropertyID, bool important); 102 bool ConsumeGridTemplateRowsAndAreasAndColumns(CSSPropertyID, bool important);
103 bool ConsumeGridTemplateShorthand(CSSPropertyID, bool important); 103 bool ConsumeGridTemplateShorthand(CSSPropertyID, bool important);
104 bool ConsumeGridShorthand(bool important); 104 bool ConsumeGridShorthand(bool important);
105 bool ConsumeGridAreaShorthand(bool important); 105 bool ConsumeGridAreaShorthand(bool important);
106 106
107 bool ConsumePlaceContentShorthand(bool important); 107 bool ConsumePlaceContentShorthand(bool important);
108 bool ConsumePlaceItemsShorthand(bool important); 108 bool ConsumePlaceItemsShorthand(bool important);
109 bool ConsumePlaceSelfShorthand(bool important); 109 bool ConsumePlaceSelfShorthand(bool important);
110 110
111 bool ConsumeFont(bool important);
112 bool ConsumeFontVariantShorthand(bool important);
113 bool ConsumeSystemFont(bool important);
114
115 bool ConsumeBorderSpacing(bool important); 111 bool ConsumeBorderSpacing(bool important);
116 112
117 // CSS3 Parsing Routines (for properties specific to CSS3) 113 // CSS3 Parsing Routines (for properties specific to CSS3)
118 bool ConsumeBorderImage(CSSPropertyID, bool default_fill, bool important); 114 bool ConsumeBorderImage(CSSPropertyID, bool default_fill, bool important);
119 115
120 bool ConsumeFlex(bool important); 116 bool ConsumeFlex(bool important);
121 117
122 bool ConsumeLegacyBreakProperty(CSSPropertyID, bool important); 118 bool ConsumeLegacyBreakProperty(CSSPropertyID, bool important);
123 119
124 private: 120 private:
125 // Inputs: 121 // Inputs:
126 CSSParserTokenRange range_; 122 CSSParserTokenRange range_;
127 Member<const CSSParserContext> context_; 123 Member<const CSSParserContext> context_;
128 // Outputs: 124 // Outputs:
129 HeapVector<CSSProperty, 256>* parsed_properties_; 125 HeapVector<CSSProperty, 256>* parsed_properties_;
130 }; 126 };
131 127
132 CSSPropertyID UnresolvedCSSPropertyID(StringView); 128 CSSPropertyID UnresolvedCSSPropertyID(StringView);
133 CSSValueID CssValueKeywordID(StringView); 129 CSSValueID CssValueKeywordID(StringView);
134 130
135 } // namespace blink 131 } // namespace blink
136 132
137 #endif // CSSPropertyParser_h 133 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698