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

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

Issue 2398013002: Reflow comments in core/css/parser (Closed)
Patch Set: Removed weird border-style comment Created 4 years, 2 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/CSSParserFastPaths.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CSSParser_h 5 #ifndef CSSParser_h
6 #define CSSParser_h 6 #define CSSParser_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/css/CSSValue.h" 10 #include "core/css/CSSValue.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&, 73 static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&,
74 Element*); 74 Element*);
75 75
76 static std::unique_ptr<Vector<double>> parseKeyframeKeyList(const String&); 76 static std::unique_ptr<Vector<double>> parseKeyframeKeyList(const String&);
77 static StyleRuleKeyframe* parseKeyframeRule(const CSSParserContext&, 77 static StyleRuleKeyframe* parseKeyframeRule(const CSSParserContext&,
78 const String&); 78 const String&);
79 79
80 static bool parseSupportsCondition(const String&); 80 static bool parseSupportsCondition(const String&);
81 81
82 // The color will only be changed when string contains a valid CSS color, so c allers 82 // The color will only be changed when string contains a valid CSS color, so
83 // can set it to a default color and ignore the boolean result. 83 // callers can set it to a default color and ignore the boolean result.
84 static bool parseColor(Color&, const String&, bool strict = false); 84 static bool parseColor(Color&, const String&, bool strict = false);
85 static bool parseSystemColor(Color&, const String&); 85 static bool parseSystemColor(Color&, const String&);
86 86
87 static void parseSheetForInspector(const CSSParserContext&, 87 static void parseSheetForInspector(const CSSParserContext&,
88 StyleSheetContents*, 88 StyleSheetContents*,
89 const String&, 89 const String&,
90 CSSParserObserver&); 90 CSSParserObserver&);
91 static void parseDeclarationListForInspector(const CSSParserContext&, 91 static void parseDeclarationListForInspector(const CSSParserContext&,
92 const String&, 92 const String&,
93 CSSParserObserver&); 93 CSSParserObserver&);
94 94
95 private: 95 private:
96 static bool parseValue(MutableStylePropertySet*, 96 static bool parseValue(MutableStylePropertySet*,
97 CSSPropertyID unresolvedProperty, 97 CSSPropertyID unresolvedProperty,
98 const String&, 98 const String&,
99 bool important, 99 bool important,
100 const CSSParserContext&); 100 const CSSParserContext&);
101 }; 101 };
102 102
103 } // namespace blink 103 } // namespace blink
104 104
105 #endif // CSSParser_h 105 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698