| Index: Source/WebCore/css/CSSPrimitiveValue.h
|
| diff --git a/Source/WebCore/css/CSSPrimitiveValue.h b/Source/WebCore/css/CSSPrimitiveValue.h
|
| index 18d23fae7b00b17534c74fc0727ba057c020f9be..7f4c5d0232739c459ed0ea4f82a98f75f62b6145 100644
|
| --- a/Source/WebCore/css/CSSPrimitiveValue.h
|
| +++ b/Source/WebCore/css/CSSPrimitiveValue.h
|
| @@ -32,7 +32,6 @@ namespace WebCore {
|
|
|
| class CSSCalcValue;
|
| class Counter;
|
| -class DashboardRegion;
|
| class Pair;
|
| class Quad;
|
| class RGBColor;
|
| @@ -100,9 +99,6 @@ public:
|
| CSS_DPI = 31,
|
| CSS_DPCM = 32,
|
| CSS_PAIR = 100, // We envision this being exposed as a means of getting computed style values for pairs (border-spacing/radius, background-position, etc.)
|
| -#if ENABLE(DASHBOARD_SUPPORT)
|
| - CSS_DASHBOARD_REGION = 101, // FIXME: Dashboard region should not be a primitive value.
|
| -#endif
|
| CSS_UNICODE_RANGE = 102,
|
|
|
| // These next types are just used internally to allow us to translate back and forth from CSSPrimitiveValues to CSSParserValues.
|
| @@ -293,10 +289,6 @@ public:
|
| Pair* getPairValue(ExceptionCode&) const;
|
| Pair* getPairValue() const { return m_primitiveUnitType != CSS_PAIR ? 0 : m_value.pair; }
|
|
|
| -#if ENABLE(DASHBOARD_SUPPORT)
|
| - DashboardRegion* getDashboardRegionValue() const { return m_primitiveUnitType != CSS_DASHBOARD_REGION ? 0 : m_value.region; }
|
| -#endif
|
| -
|
| CSSBasicShape* getShapeValue() const { return m_primitiveUnitType != CSS_SHAPE ? 0 : m_value.shape; }
|
|
|
| CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC ? 0 : m_value.calc; }
|
| @@ -355,7 +347,6 @@ private:
|
| void init(PassRefPtr<Rect>);
|
| void init(PassRefPtr<Pair>);
|
| void init(PassRefPtr<Quad>);
|
| - void init(PassRefPtr<DashboardRegion>); // FIXME: Dashboard region should not be a primitive value.
|
| void init(PassRefPtr<CSSBasicShape>);
|
| void init(PassRefPtr<CSSCalcValue>);
|
| bool getDoubleValueInternal(UnitTypes targetUnitType, double* result) const;
|
| @@ -371,7 +362,6 @@ private:
|
| Quad* quad;
|
| unsigned rgbcolor;
|
| Pair* pair;
|
| - DashboardRegion* region;
|
| CSSBasicShape* shape;
|
| CSSCalcValue* calc;
|
| } m_value;
|
|
|