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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserMode.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/parser/CSSParserMode.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserMode.h b/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
index cefe25257dee86fab301c2bfb7e36ba5a1d1664d..442dbc86ce6a55b5e180648ea8b349a6de415681 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserMode.h
@@ -44,14 +44,17 @@ class Document;
enum CSSParserMode {
HTMLStandardMode,
HTMLQuirksMode,
- // HTML attributes are parsed in quirks mode but also allows internal properties and values.
+ // HTML attributes are parsed in quirks mode but also allows internal
+ // properties and values.
HTMLAttributeMode,
// SVG attributes are parsed in quirks mode but rules differ slightly.
SVGAttributeMode,
- // @viewport/@font-face rules are specially tagged in StylePropertySet so CSSOM modifications don't treat them as style rules.
+ // @viewport/@font-face rules are specially tagged in StylePropertySet so
+ // CSSOM modifications don't treat them as style rules.
CSSViewportRuleMode,
CSSFontFaceRuleMode,
- // User agent stylesheets are parsed in standards mode but also allows internal properties and values.
+ // User agent stylesheets are parsed in standards mode but also allows
+ // internal properties and values.
UASheetMode
};
@@ -83,14 +86,16 @@ class CORE_EXPORT CSSParserContext {
public:
CSSParserContext(CSSParserMode, UseCounter*);
- // FIXME: We shouldn't need the UseCounter argument as we could infer it from the Document
- // but some callers want to disable use counting (e.g. the WebInspector).
+ // FIXME: We shouldn't need the UseCounter argument as we could infer it from
+ // the Document but some callers want to disable use counting (e.g. the
+ // WebInspector).
CSSParserContext(const Document&,
UseCounter*,
const KURL& baseURL = KURL(),
const String& charset = emptyString());
- // FIXME: This constructor shouldn't exist if we properly piped the UseCounter through the CSS
- // subsystem. Currently the UseCounter life time is too crazy and we need a way to override it.
+ // FIXME: This constructor shouldn't exist if we properly piped the UseCounter
+ // through the CSS subsystem. Currently the UseCounter life time is too crazy
+ // and we need a way to override it.
CSSParserContext(const CSSParserContext&, UseCounter*);
bool operator==(const CSSParserContext&) const;
@@ -112,8 +117,9 @@ class CORE_EXPORT CSSParserContext {
return m_useLegacyBackgroundSizeShorthandBehavior;
}
- // FIXME: These setters shouldn't exist, however the current lifetime of CSSParserContext
- // is not well understood and thus we sometimes need to override these fields.
+ // FIXME: These setters shouldn't exist, however the current lifetime of
+ // CSSParserContext is not well understood and thus we sometimes need to
+ // override these fields.
void setMode(CSSParserMode mode) { m_mode = mode; }
void setBaseURL(const KURL& baseURL) { m_baseURL = baseURL; }
void setCharset(const String& charset) { m_charset = charset; }

Powered by Google App Engine
This is Rietveld 408576698