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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h

Issue 2251663002: [Typed-OM] Get CSSTokenStreamValue from StyleMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add layouttest Created 4 years, 4 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/cssom/CSSTokenStreamValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h b/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h
index cead83b88fe6e72bcd5d408f786c4bb5fb18aef7..11d3d9ff3d7615dc0aa32a0606fc75efa0f81cec 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/Iterable.h"
#include "bindings/core/v8/StringOrCSSVariableReferenceValue.h"
#include "core/css/cssom/CSSStyleValue.h"
+#include "core/css/parser/CSSParserTokenRange.h"
#include "wtf/Vector.h"
namespace blink {
@@ -21,6 +22,10 @@ public:
return new CSSTokenStreamValue(fragments);
}
+ static CSSTokenStreamValue* fromCSSValue(const CSSValue&);
+
+ static CSSTokenStreamValue* fromParserTokenRange(CSSParserTokenRange, StringBuilder&, bool);
meade_UTC10 2016/08/19 08:43:52 Can this be a private method?
anthonyhkf 2016/08/22 03:19:21 Done.
+
CSSValue* toCSSValue() const override;
StyleValueType type() const override { return TokenStreamType; }

Powered by Google App Engine
This is Rietveld 408576698