Home
last modified time | relevance | path

Searched refs:expValue (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryExp.cpp214 , m_expValue(other.expValue()) in MediaQueryExp()
218 MediaQueryExp::MediaQueryExp(const String& mediaFeature, const MediaQueryExpValue& expValue) in MediaQueryExp() argument
220 , m_expValue(expValue) in MediaQueryExp()
228 MediaQueryExpValue expValue; in createIfValid() local
240 expValue.id = value->id; in createIfValid()
241 expValue.unit = CSSPrimitiveValue::CSS_VALUE_ID; in createIfValid()
242 expValue.isID = true; in createIfValid()
247 expValue.value = value->fValue; in createIfValid()
248 expValue.unit = (CSSPrimitiveValue::UnitType)value->unit; in createIfValid()
249 expValue.isValue = true; in createIfValid()
[all …]
DMediaQueryExp.h67 bool equals(const MediaQueryExpValue& expValue) const in equals()
70 return (id == expValue.id); in equals()
72 return (value == expValue.value); in equals()
74 return (numerator == expValue.numerator && denominator == expValue.denominator); in equals()
75 return !expValue.isValid(); in equals()
87 MediaQueryExpValue expValue() const { return m_expValue; } in expValue() function
DMediaList.cpp304 MediaQueryExpValue expValue = expression->expValue(); in reportMediaQueryWarningIfNeeded() local
305 if (expValue.isValue) { in reportMediaQueryWarningIfNeeded()
306 if (CSSPrimitiveValue::isDotsPerPixel(expValue.unit)) in reportMediaQueryWarningIfNeeded()
308 …else if (CSSPrimitiveValue::isDotsPerInch(expValue.unit) || CSSPrimitiveValue::isDotsPerCentimeter… in reportMediaQueryWarningIfNeeded()
309 suspiciousType = expValue.unit; in reportMediaQueryWarningIfNeeded()
DMediaQueryEvaluator.cpp657 return func(expr->expValue(), NoPrefix, *m_mediaValues); in eval()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.cpp1022 MediaQueryExpValue expValue = mediaQueryExp->expValue(); in buildMediaObject() local
1023 if (!expValue.isValue) in buildMediaObject()
1025 const char* valueName = CSSPrimitiveValue::unitTypeToString(expValue.unit); in buildMediaObject()
1027 .setValue(expValue.value) in buildMediaObject()
1032 if (mediaValues->computeLength(expValue.value, expValue.unit, computedLength)) in buildMediaObject()