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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h

Issue 2917323003: Move AddProperty to a helper class. (Closed)
Patch Set: Changed the wrapper function name to AddParsedProperty. 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
index 08bb57cfc8a5ae117a798c04b12a9fcc80f61d5e..3d42a0ba71e0c5c1f14d896c91839d00338af556 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
@@ -19,6 +19,7 @@
namespace blink {
class CSSParserContext;
+class CSSProperty;
class CSSStringValue;
class CSSURIValue;
class CSSValuePair;
@@ -112,6 +113,13 @@ bool IsCSSWideKeyword(StringView);
CSSIdentifierValue* ConsumeShapeBox(CSSParserTokenRange&);
+void AddProperty(CSSPropertyID resolved_property,
+ CSSPropertyID current_shorthand,
+ const CSSValue&,
+ bool important,
+ bool implicit,
+ HeapVector<CSSProperty, 256>& properties);
+
// Template implementations are at the bottom of the file for readability.
template <typename... emptyBaseCase>

Powered by Google App Engine
This is Rietveld 408576698