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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySet.h

Issue 2315923002: Lazy Parse CSS (Closed)
Patch Set: esprehn review 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/StylePropertySet.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
index 9019a488b6e602c1214e6d476efe8b6fe70d4620..b37343ed7b4a78a378243ed92a62bf10b8477626 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -155,6 +155,18 @@ class CORE_EXPORT StylePropertySet
friend class PropertySetCSSStyleDeclaration;
};
+// Used for lazily parsing properties.
+class CSSLazyPropertyParser
+ : public GarbageCollectedFinalized<CSSLazyPropertyParser> {
+ WTF_MAKE_NONCOPYABLE(CSSLazyPropertyParser);
+
+ public:
+ CSSLazyPropertyParser() {}
+ virtual ~CSSLazyPropertyParser() {}
+ virtual StylePropertySet* parseProperties() = 0;
+ DECLARE_VIRTUAL_TRACE();
+};
+
class CORE_EXPORT ImmutableStylePropertySet : public StylePropertySet {
public:
~ImmutableStylePropertySet();
« no previous file with comments | « third_party/WebKit/Source/core/css/ElementRuleCollector.cpp ('k') | third_party/WebKit/Source/core/css/StylePropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698