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

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

Issue 2860283003: Refactored out property specific logic in ConsumeBorderImageSlice. (Closed)
Patch Set: fixed bug - argument order Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool ConsumePlaceItemsShorthand(bool important); 107 bool ConsumePlaceItemsShorthand(bool important);
108 bool ConsumePlaceSelfShorthand(bool important); 108 bool ConsumePlaceSelfShorthand(bool important);
109 109
110 bool ConsumeFont(bool important); 110 bool ConsumeFont(bool important);
111 bool ConsumeFontVariantShorthand(bool important); 111 bool ConsumeFontVariantShorthand(bool important);
112 bool ConsumeSystemFont(bool important); 112 bool ConsumeSystemFont(bool important);
113 113
114 bool ConsumeBorderSpacing(bool important); 114 bool ConsumeBorderSpacing(bool important);
115 115
116 // CSS3 Parsing Routines (for properties specific to CSS3) 116 // CSS3 Parsing Routines (for properties specific to CSS3)
117 bool ConsumeBorderImage(CSSPropertyID, bool important); 117 bool ConsumeBorderImage(CSSPropertyID, bool default_fill, bool important);
118 118
119 bool ConsumeFlex(bool important); 119 bool ConsumeFlex(bool important);
120 120
121 bool ConsumeLegacyBreakProperty(CSSPropertyID, bool important); 121 bool ConsumeLegacyBreakProperty(CSSPropertyID, bool important);
122 122
123 private: 123 private:
124 // Inputs: 124 // Inputs:
125 CSSParserTokenRange range_; 125 CSSParserTokenRange range_;
126 Member<const CSSParserContext> context_; 126 Member<const CSSParserContext> context_;
127 // Outputs: 127 // Outputs:
128 HeapVector<CSSProperty, 256>* parsed_properties_; 128 HeapVector<CSSProperty, 256>* parsed_properties_;
129 }; 129 };
130 130
131 CSSPropertyID UnresolvedCSSPropertyID(StringView); 131 CSSPropertyID UnresolvedCSSPropertyID(StringView);
132 CSSValueID CssValueKeywordID(StringView); 132 CSSValueID CssValueKeywordID(StringView);
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif // CSSPropertyParser_h 136 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698