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

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

Issue 2289333003: CSS Lazy Parsing perf jobs (Closed)
Patch Set: CL for src perf tryjob to run blink_style.top_25 benchmark on all-android platform(s) 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
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 18 matching lines...) Expand all
29 class CORE_EXPORT CSSParser { 29 class CORE_EXPORT CSSParser {
30 STATIC_ONLY(CSSParser); 30 STATIC_ONLY(CSSParser);
31 31
32 public: 32 public:
33 // As well as regular rules, allows @import and @namespace but not @charset 33 // As well as regular rules, allows @import and @namespace but not @charset
34 static StyleRuleBase* parseRule(const CSSParserContext&, 34 static StyleRuleBase* parseRule(const CSSParserContext&,
35 StyleSheetContents*, 35 StyleSheetContents*,
36 const String&); 36 const String&);
37 static void parseSheet(const CSSParserContext&, 37 static void parseSheet(const CSSParserContext&,
38 StyleSheetContents*, 38 StyleSheetContents*,
39 const String&); 39 const String&,
40 bool deferPropertyParsing = false);
40 static CSSSelectorList parseSelector(const CSSParserContext&, 41 static CSSSelectorList parseSelector(const CSSParserContext&,
41 StyleSheetContents*, 42 StyleSheetContents*,
42 const String&); 43 const String&);
43 static CSSSelectorList parsePageSelector(const CSSParserContext&, 44 static CSSSelectorList parsePageSelector(const CSSParserContext&,
44 StyleSheetContents*, 45 StyleSheetContents*,
45 const String&); 46 const String&);
46 static bool parseDeclarationList(const CSSParserContext&, 47 static bool parseDeclarationList(const CSSParserContext&,
47 MutableStylePropertySet*, 48 MutableStylePropertySet*,
48 const String&); 49 const String&);
49 // Returns whether anything was changed. 50 // Returns whether anything was changed.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 static bool parseValue(MutableStylePropertySet*, 98 static bool parseValue(MutableStylePropertySet*,
98 CSSPropertyID unresolvedProperty, 99 CSSPropertyID unresolvedProperty,
99 const String&, 100 const String&,
100 bool important, 101 bool important,
101 const CSSParserContext&); 102 const CSSParserContext&);
102 }; 103 };
103 104
104 } // namespace blink 105 } // namespace blink
105 106
106 #endif // CSSParser_h 107 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleSheetContents.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698