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

Unified Diff: sky/engine/core/css/CSSValue.h

Issue 1214633005: Remove CSS clients of ImageResource (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/engine/core/css/CSSImageValue.cpp ('k') | sky/engine/core/css/CSSValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSValue.h
diff --git a/sky/engine/core/css/CSSValue.h b/sky/engine/core/css/CSSValue.h
index 9651a3701a4f88c7952460144b2d059f95ae8a39..a923d2742620d982b5197c7070b5ed1e83ed8e4b 100644
--- a/sky/engine/core/css/CSSValue.h
+++ b/sky/engine/core/css/CSSValue.h
@@ -77,15 +77,12 @@ public:
bool isAspectRatioValue() const { return m_classType == AspectRatioClass; }
bool isBorderImageSliceValue() const { return m_classType == BorderImageSliceClass; }
- bool isCrossfadeValue() const { return m_classType == CrossfadeClass; }
bool isFontFeatureValue() const { return m_classType == FontFeatureClass; }
bool isFontValue() const { return m_classType == FontClass; }
bool isFontFaceSrcValue() const { return m_classType == FontFaceSrcClass; }
bool isFunctionValue() const { return m_classType == FunctionClass; }
- bool isImageGeneratorValue() const { return m_classType >= CrossfadeClass && m_classType <= RadialGradientClass; }
+ bool isImageGeneratorValue() const { return m_classType >= LinearGradientClass && m_classType <= RadialGradientClass; }
bool isGradientValue() const { return m_classType >= LinearGradientClass && m_classType <= RadialGradientClass; }
- bool isImageSetValue() const { return m_classType == ImageSetClass; }
- bool isImageValue() const { return m_classType == ImageClass; }
bool isImplicitInitialValue() const;
bool isInheritedValue() const { return m_classType == InheritedClass; }
bool isInitialValue() const { return m_classType == InitialClass; }
@@ -117,11 +114,7 @@ protected:
enum ClassType {
PrimitiveClass,
- // Image classes.
- ImageClass,
-
// Image generator classes.
- CrossfadeClass,
LinearGradientClass,
RadialGradientClass,
@@ -147,7 +140,6 @@ protected:
// List class types must appear after ValueListClass.
ValueListClass,
- ImageSetClass,
CSSFilterClass,
CSSTransformClass,
// Do not append non-list class types here.
« no previous file with comments | « sky/engine/core/css/CSSImageValue.cpp ('k') | sky/engine/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698