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

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

Issue 1481383002: [Experimental] CSSSerializer Proof-of-concept Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: snapshot: top_25 sites ser/dser now works Created 4 years, 11 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/CSSSelectorList.h
diff --git a/third_party/WebKit/Source/core/css/CSSSelectorList.h b/third_party/WebKit/Source/core/css/CSSSelectorList.h
index 94b371d4f42bc0a09d19f09cfbb8430e0c59ea87..d7e873970daa1e8c0a1c61e9c584fc7b3181ded1 100644
--- a/third_party/WebKit/Source/core/css/CSSSelectorList.h
+++ b/third_party/WebKit/Source/core/css/CSSSelectorList.h
@@ -31,7 +31,9 @@
namespace blink {
+class CSSDeserializeStream;
class CSSParserSelector;
+class CSSSerializeStream;
class CORE_EXPORT CSSSelectorList {
USING_FAST_MALLOC(CSSSelectorList);
@@ -86,6 +88,9 @@ public:
String selectorsText() const;
+ static CSSSelectorList deserialize(CSSDeserializeStream*);
+ void serialize(CSSSerializeStream*) const;
+
private:
unsigned length() const;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.cpp ('k') | third_party/WebKit/Source/core/css/CSSSelectorList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698