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

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

Issue 1782833008: Add paint() function as valid CSS <image> type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: name->customCSSText Created 4 years, 9 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/CSSValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSValue.h b/third_party/WebKit/Source/core/css/CSSValue.h
index 33eb456fe6dff26f3a5791554aac3e1b5f17a9d4..a63e60710326409c0419bac1f25e08f6200d72c8 100644
--- a/third_party/WebKit/Source/core/css/CSSValue.h
+++ b/third_party/WebKit/Source/core/css/CSSValue.h
@@ -78,6 +78,7 @@ public:
bool isCounterValue() const { return m_classType == CounterClass; }
bool isCursorImageValue() const { return m_classType == CursorImageClass; }
bool isCrossfadeValue() const { return m_classType == CrossfadeClass; }
+ bool isPaintValue() const { return m_classType == PaintClass; }
bool isFontFeatureValue() const { return m_classType == FontFeatureClass; }
bool isFontFaceSrcValue() const { return m_classType == FontFaceSrcClass; }
bool isFunctionValue() const { return m_classType == FunctionClass; }
@@ -149,6 +150,7 @@ protected:
// Image generator classes.
CrossfadeClass,
+ PaintClass,
LinearGradientClass,
RadialGradientClass,
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPaintValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698