HomeSort by relevance Sort by last modified time
    Searched refs:CSSPrimitiveValue (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSShadowValue.h 30 class CSSPrimitiveValue;
35 static PassRefPtr<CSSShadowValue> create(PassRefPtr<CSSPrimitiveValue> x,
36 PassRefPtr<CSSPrimitiveValue> y,
37 PassRefPtr<CSSPrimitiveValue> blur,
38 PassRefPtr<CSSPrimitiveValue> spread,
39 PassRefPtr<CSSPrimitiveValue> style,
40 PassRefPtr<CSSPrimitiveValue> color)
49 RefPtr<CSSPrimitiveValue> x;
50 RefPtr<CSSPrimitiveValue> y;
51 RefPtr<CSSPrimitiveValue> blur
    [all...]
Rect.idl 22 readonly attribute CSSPrimitiveValue top;
23 readonly attribute CSSPrimitiveValue right;
24 readonly attribute CSSPrimitiveValue bottom;
25 readonly attribute CSSPrimitiveValue left;
RGBColor.idl 23 readonly attribute CSSPrimitiveValue red;
24 readonly attribute CSSPrimitiveValue green;
25 readonly attribute CSSPrimitiveValue blue;
CSSFontValue.h 30 class CSSPrimitiveValue;
44 RefPtr<CSSPrimitiveValue> style;
45 RefPtr<CSSPrimitiveValue> variant;
46 RefPtr<CSSPrimitiveValue> weight;
47 RefPtr<CSSPrimitiveValue> size;
48 RefPtr<CSSPrimitiveValue> lineHeight;
CSSValuePool.h 33 #include "core/css/CSSPrimitiveValue.h"
46 PassRefPtr<CSSPrimitiveValue> createFontFamilyValue(const String&);
50 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSValueID identifier);
51 PassRefPtr<CSSPrimitiveValue> createIdentifierValue(CSSPropertyID identifier);
52 PassRefPtr<CSSPrimitiveValue> createColorValue(unsigned rgbValue);
53 PassRefPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitTypes);
54 PassRefPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitTypes type) { return CSSPrimitiveValue::create(value, type);
    [all...]
CSSParserValues.cpp 88 return CSSPrimitiveValue::createIdentifier(id);
91 RefPtr<CSSPrimitiveValue> primitiveValue = CSSPrimitiveValue::createParserOperator(iValue);
92 primitiveValue->setPrimitiveType(CSSPrimitiveValue::CSS_PARSER_OPERATOR);
100 return CSSPrimitiveValue::createAllowingMarginQuirk(fValue, CSSPrimitiveValue::CSS_EMS);
102 CSSPrimitiveValue::UnitTypes primitiveUnit = static_cast<CSSPrimitiveValue::UnitTypes>(unit);
104 case CSSPrimitiveValue::CSS_IDENT:
105 case CSSPrimitiveValue::CSS_PROPERTY_ID
    [all...]
RGBColor.cpp 28 #include "core/css/CSSPrimitiveValue.h"
38 PassRefPtr<CSSPrimitiveValue> RGBColor::red()
41 RefPtr<CSSPrimitiveValue> result = CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_NUMBER);
46 PassRefPtr<CSSPrimitiveValue> RGBColor::green()
49 RefPtr<CSSPrimitiveValue> result = CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_NUMBER);
54 PassRefPtr<CSSPrimitiveValue> RGBColor::blue(
    [all...]
CSSBasicShapes.h 33 #include "core/css/CSSPrimitiveValue.h"
69 CSSPrimitiveValue* x() const { return m_x.get(); }
70 CSSPrimitiveValue* y() const { return m_y.get(); }
71 CSSPrimitiveValue* width() const { return m_width.get(); }
72 CSSPrimitiveValue* height() const { return m_height.get(); }
73 CSSPrimitiveValue* radiusX() const { return m_radiusX.get(); }
74 CSSPrimitiveValue* radiusY() const { return m_radiusY.get(); }
76 void setX(PassRefPtr<CSSPrimitiveValue> x) { m_x = x; }
77 void setY(PassRefPtr<CSSPrimitiveValue> y) { m_y = y; }
78 void setWidth(PassRefPtr<CSSPrimitiveValue> width) { m_width = width;
    [all...]
RGBColor.h 35 class CSSPrimitiveValue;
41 PassRefPtr<CSSPrimitiveValue> red();
42 PassRefPtr<CSSPrimitiveValue> green();
43 PassRefPtr<CSSPrimitiveValue> blue();
44 PassRefPtr<CSSPrimitiveValue> alpha();
CSSValuePool.cpp 45 , m_colorTransparent(CSSPrimitiveValue::createColor(Color::transparent))
46 , m_colorWhite(CSSPrimitiveValue::createColor(Color::white))
47 , m_colorBlack(CSSPrimitiveValue::createColor(Color::black))
51 PassRefPtr<CSSPrimitiveValue> CSSValuePool::createIdentifierValue(CSSValueID ident)
54 return CSSPrimitiveValue::createIdentifier(ident);
57 m_identifierValueCache[ident] = CSSPrimitiveValue::createIdentifier(ident);
61 PassRefPtr<CSSPrimitiveValue> CSSValuePool::createIdentifierValue(CSSPropertyID ident)
63 return CSSPrimitiveValue::createIdentifier(ident);
66 PassRefPtr<CSSPrimitiveValue> CSSValuePool::createColorValue(unsigned rgbValue)
82 RefPtr<CSSPrimitiveValue> dummyValue
    [all...]
SVGCSSComputedStyleDeclaration.cpp 33 static PassRefPtr<CSSPrimitiveValue> glyphOrientationToCSSPrimitiveValue(EGlyphOrientation orientation)
37 return CSSPrimitiveValue::create(0.0f, CSSPrimitiveValue::CSS_DEG);
39 return CSSPrimitiveValue::create(90.0f, CSSPrimitiveValue::CSS_DEG);
41 return CSSPrimitiveValue::create(180.0f, CSSPrimitiveValue::CSS_DEG);
43 return CSSPrimitiveValue::create(270.0f, CSSPrimitiveValue::CSS_DEG);
52 return CSSPrimitiveValue::createIdentifier(CSSValueNone)
    [all...]
CSSCalculationValueTest.cpp 34 #include "core/css/CSSPrimitiveValue.h"
60 expected = CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true);
65 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(10, CSSPrimitiveValue::CSS_PX), true),
66 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(20, CSSPrimitiveValue::CSS_PX), true),
79 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(30, CSSPrimitiveValue::CSS_PX), true),
80 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(40, CSSPrimitiveValue::CSS_NUMBER), true)
    [all...]
CSSReflectValue.h 35 class CSSPrimitiveValue;
39 static PassRefPtr<CSSReflectValue> create(PassRefPtr<CSSPrimitiveValue> direction,
40 PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask)
45 CSSPrimitiveValue* direction() const { return m_direction.get(); }
46 CSSPrimitiveValue* offset() const { return m_offset.get(); }
57 CSSReflectValue(PassRefPtr<CSSPrimitiveValue> direction, PassRefPtr<CSSPrimitiveValue> offset, PassRefPtr<CSSValue> mask)
65 RefPtr<CSSPrimitiveValue> m_direction;
66 RefPtr<CSSPrimitiveValue> m_offset;
Counter.h 24 #include "core/css/CSSPrimitiveValue.h"
31 static PassRefPtr<Counter> create(PassRefPtr<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator)
42 void setIdentifier(PassRefPtr<CSSPrimitiveValue> identifier) { m_identifier = identifier; }
43 void setListStyle(PassRefPtr<CSSPrimitiveValue> listStyle) { m_listStyle = listStyle; }
44 void setSeparator(PassRefPtr<CSSPrimitiveValue> separator) { m_separator = separator; }
61 Counter(PassRefPtr<CSSPrimitiveValue> identifier, PassRefPtr<CSSPrimitiveValue> listStyle, PassRefPtr<CSSPrimitiveValue> separator
    [all...]
CSSBorderImageSliceValue.h 29 #include "core/css/CSSPrimitiveValue.h"
39 static PassRefPtr<CSSBorderImageSliceValue> create(PassRefPtr<CSSPrimitiveValue> slices, bool fill)
52 RefPtr<CSSPrimitiveValue> m_slices;
56 CSSBorderImageSliceValue(PassRefPtr<CSSPrimitiveValue> slices, bool fill);
CSSPrimitiveValue.cpp 22 #include "core/css/CSSPrimitiveValue.h"
53 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitTypes unitType)
56 case CSSPrimitiveValue::CSS_CALC:
57 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_NUMBER:
58 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_LENGTH:
59 case CSSPrimitiveValue::CSS_CM:
60 case CSSPrimitiveValue::CSS_DEG:
61 case CSSPrimitiveValue::CSS_DIMENSION:
62 case CSSPrimitiveValue::CSS_DPPX:
63 case CSSPrimitiveValue::CSS_DPI
    [all...]
Pair.h 24 #include "core/css/CSSPrimitiveValue.h"
43 static PassRefPtr<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValuesPolicy identicalValuesPolicy)
48 CSSPrimitiveValue* first() const { return m_first.get(); }
49 CSSPrimitiveValue* second() const { return m_second.get(); }
52 void setFirst(PassRefPtr<CSSPrimitiveValue> first) { m_first = first; }
53 void setSecond(PassRefPtr<CSSPrimitiveValue> second) { m_second = second; }
84 Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValuesPolicy identicalValuesPolicy)
96 RefPtr<CSSPrimitiveValue> m_first
    [all...]
CSSPrimitiveValue.h 67 class CSSPrimitiveValue : public CSSValue {
151 static UnitCategory unitCategory(CSSPrimitiveValue::UnitTypes);
201 static PassRefPtr<CSSPrimitiveValue> createIdentifier(CSSValueID valueID) { return adoptRef(new CSSPrimitiveValue(valueID)); }
202 static PassRefPtr<CSSPrimitiveValue> createIdentifier(CSSPropertyID propertyID) { return adoptRef(new CSSPrimitiveValue(propertyID)); }
203 static PassRefPtr<CSSPrimitiveValue> createParserOperator(int parserOperator) { return adoptRef(new CSSPrimitiveValue(parserOperator)); }
204 static PassRefPtr<CSSPrimitiveValue> createColor(unsigned rgbValue) { return adoptRef(new CSSPrimitiveValue(rgbValue));
    [all...]
CSSCalculationValue.cpp 50 static CalculationCategory unitCategory(CSSPrimitiveValue::UnitTypes type)
53 case CSSPrimitiveValue::CSS_NUMBER:
54 case CSSPrimitiveValue::CSS_PARSER_INTEGER:
56 case CSSPrimitiveValue::CSS_PERCENTAGE:
58 case CSSPrimitiveValue::CSS_EMS:
59 case CSSPrimitiveValue::CSS_EXS:
60 case CSSPrimitiveValue::CSS_PX:
61 case CSSPrimitiveValue::CSS_CM:
62 case CSSPrimitiveValue::CSS_MM:
63 case CSSPrimitiveValue::CSS_IN
    [all...]
CSSGradientValue.h 30 #include "core/css/CSSPrimitiveValue.h"
52 RefPtr<CSSPrimitiveValue> m_position; // percentage or length
53 RefPtr<CSSPrimitiveValue> m_color;
67 void setFirstX(PassRefPtr<CSSPrimitiveValue> val) { m_firstX = val; }
68 void setFirstY(PassRefPtr<CSSPrimitiveValue> val) { m_firstY = val; }
69 void setSecondX(PassRefPtr<CSSPrimitiveValue> val) { m_secondX = val; }
70 void setSecondY(PassRefPtr<CSSPrimitiveValue> val) { m_secondY = val; }
116 FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, const CSSToLengthConversionData&, const IntSize&);
121 RefPtr<CSSPrimitiveValue> m_firstX
    [all...]
CSSShadowValue.cpp 23 #include "core/css/CSSPrimitiveValue.h"
30 CSSShadowValue::CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x,
31 PassRefPtr<CSSPrimitiveValue> y,
32 PassRefPtr<CSSPrimitiveValue> blur,
33 PassRefPtr<CSSPrimitiveValue> spread,
34 PassRefPtr<CSSPrimitiveValue> style,
35 PassRefPtr<CSSPrimitiveValue> color)
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableLengthTest.cpp 37 #include "core/css/CSSPrimitiveValue.h"
59 PassRefPtr<AnimatableLength> create(double value, CSSPrimitiveValue::UnitTypes type)
61 return AnimatableLength::create(CSSPrimitiveValue::create(value, type).get());
64 PassRefPtr<AnimatableLength> create(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight)
69 PassRefPtr<CSSCalcValue> createCalc(double valueLeft, CSSPrimitiveValue::UnitTypes typeLeft, double valueRight, CSSPrimitiveValue::UnitTypes typeRight)
72 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(valueLeft, typeLeft), valueLeft == trunc(valueLeft)),
73 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(valueRight, typeRight), valueRight == trunc(valueRight)),
100 EXPECT_TRUE(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX).get()))
    [all...]
AnimatableValueTestHelperTest.cpp 81 PrintToString(AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PX).get())));
86 AnimatableLength::create(CSSPrimitiveValue::create(1, CSSPrimitiveValue::CSS_PX).get()),
87 AnimatableLength::create(CSSPrimitiveValue::create(2, CSSPrimitiveValue::CSS_EMS).get()),
88 AnimatableLength::create(CSSPrimitiveValue::create(3, CSSPrimitiveValue::CSS_REMS).get()),
89 AnimatableLength::create(CSSPrimitiveValue::create(4, CSSPrimitiveValue::CSS_PT).get()
    [all...]
AnimatableLength.cpp 44 CSSPrimitiveValue* primitiveValue = WebCore::toCSSPrimitiveValue(value);
51 const double scale = CSSPrimitiveValue::conversionToCanonicalUnitsScaleFactor(primitiveValue->primitiveType());
66 const CSSPrimitiveValue* primitiveValue = WebCore::toCSSPrimitiveValue(value);
141 static bool isCompatibleWithRange(const CSSPrimitiveValue* primitiveValue, NumberRange range)
151 PassRefPtr<CSSPrimitiveValue> AnimatableLength::toCSSPrimitiveValue(NumberRange range) const
155 m_cachedCSSPrimitiveValue = CSSPrimitiveValue::create(CSSCalcValue::create(m_calcExpression, range == AllValues ? ValueRangeAll : ValueRangeNonNegative));
157 m_cachedCSSPrimitiveValue = CSSPrimitiveValue::create(clampedNumber(range), static_cast<CSSPrimitiveValue::UnitTypes>(numberTypeToPrimitiveUnit(m_unitType)));
167 CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(factor, CSSPrimitiveValue::CSS_NUMBER))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleFetchedShader.cpp 34 #include "core/css/CSSPrimitiveValue.h"
48 return CSSPrimitiveValue::create(m_shader->url().string(), CSSPrimitiveValue::CSS_URI);

Completed in 129 milliseconds

1 2 3 4 5