/external/chromium_org/chrome/browser/resources/print_preview/data/ |
H A D | measurement_system.js | 13 * @param {!print_preview.MeasurementSystem.UnitType} unitType Measurement 44 MeasurementSystem.UnitType = { 51 * @type {!Object.<!print_preview.MeasurementSystem.UnitType, number>} 55 MeasurementSystem.Precision_[MeasurementSystem.UnitType.METRIC] = 0.5; 56 MeasurementSystem.Precision_[MeasurementSystem.UnitType.IMPERIAL] = 0.01; 60 * @type {!Object.<!print_preview.MeasurementSystem.UnitType, number>} 64 MeasurementSystem.DecimalPlaces_[MeasurementSystem.UnitType.METRIC] = 1; 65 MeasurementSystem.DecimalPlaces_[MeasurementSystem.UnitType.IMPERIAL] = 2; 86 if (this.unitType_ == MeasurementSystem.UnitType.METRIC) { 88 } else if (this.unitType_ == MeasurementSystem.UnitType [all...] |
H A D | print_ticket_store.js | 62 ',', '.', print_preview.MeasurementSystem.UnitType.IMPERIAL); 294 * @param {!print_preview.MeasurementSystem.UnitType} unitType Type of unit
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSPrimitiveValue.h | 74 enum UnitType { enum in class:blink::CSSPrimitiveValue 168 static UnitCategory unitCategory(UnitType); 170 static UnitType fromName(const String& unit); 189 bool isViewportPercentageLength() const { return isViewportPercentageLength(static_cast<UnitType>(m_primitiveUnitType)); } 190 static bool isViewportPercentageLength(UnitType type) { return type >= CSS_VW && type <= CSS_VMAX; } 191 static bool isLength(UnitType type) 208 static bool isDotsPerInch(UnitType type) { return type == CSS_DPI; } 209 static bool isDotsPerPixel(UnitType type) { return type == CSS_DPPX; } 210 static bool isDotsPerCentimeter(UnitType type) { return type == CSS_DPCM; } 211 static bool isResolution(UnitType typ [all...] |
H A D | MediaValues.h | 33 static bool computeLengthImpl(double value, CSSPrimitiveValue::UnitType, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result); 35 static bool computeLength(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, T& result) 43 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const = 0; 44 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const = 0;
|
H A D | MediaValuesDynamic.h | 20 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const OVERRIDE; 21 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const OVERRIDE;
|
H A D | CSSPrimitiveValue.cpp | 54 static inline bool isValidCSSUnitTypeForDoubleConversion(CSSPrimitiveValue::UnitType unitType) 113 typedef HashMap<String, CSSPrimitiveValue::UnitType> StringToUnitTable; 147 CSSPrimitiveValue::UnitType CSSPrimitiveValue::fromName(const String& unit) 153 CSSPrimitiveValue::UnitCategory CSSPrimitiveValue::unitCategory(UnitType type) 210 CSSPrimitiveValue::UnitType CSSPrimitiveValue::primitiveType() const 216 return static_cast<UnitType>(m_primitiveUnitType); 281 CSSPrimitiveValue::CSSPrimitiveValue(double num, UnitType type) 289 CSSPrimitiveValue::CSSPrimitiveValue(const String& str, UnitType type) 304 CSSPrimitiveValue::CSSPrimitiveValue(RGBA32 color, UnitType type) 440 switch (static_cast<UnitType>(m_primitiveUnitTyp [all...] |
H A D | CSSValuePool.h | 53 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(double value, CSSPrimitiveValue::UnitType); 54 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createValue(const String& value, CSSPrimitiveValue::UnitType type) { return CSSPrimitiveValue::create(value, type); }
|
H A D | MediaValuesCached.h | 57 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, int& result) const OVERRIDE; 58 virtual bool computeLength(double value, CSSPrimitiveValue::UnitType, double& result) const OVERRIDE;
|
H A D | MediaValuesDynamic.cpp | 40 bool MediaValuesDynamic::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const 50 bool MediaValuesDynamic::computeLength(double value, CSSPrimitiveValue::UnitType type, double& result) const
|
H A D | MediaQueryExp.h | 45 CSSPrimitiveValue::UnitType unit;
|
H A D | MediaValuesTest.cpp | 17 CSSPrimitiveValue::UnitType type;
|
H A D | MediaValuesCached.cpp | 79 bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const 84 bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitType type, double& result) const
|
H A D | CSSCalculationValue.cpp | 50 static CalculationCategory unitCategory(CSSPrimitiveValue::UnitType type) 88 static bool hasDoubleValue(CSSPrimitiveValue::UnitType type) 195 static PassRefPtrWillBeRawPtr<CSSCalcPrimitiveValue> create(double value, CSSPrimitiveValue::UnitType type, bool isInteger) 271 virtual CSSPrimitiveValue::UnitType primitiveType() const OVERRIDE 368 CSSPrimitiveValue::UnitType leftType = leftSide->primitiveType(); 370 CSSPrimitiveValue::UnitType rightType = rightSide->primitiveType(); 375 CSSPrimitiveValue::UnitType canonicalType = CSSPrimitiveValue::canonicalUnitTypeForCategory(leftUnitCategory); 400 CSSPrimitiveValue::UnitType otherType = otherSide->primitiveType(); 511 virtual CSSPrimitiveValue::UnitType primitiveType() const OVERRIDE 523 CSSPrimitiveValue::UnitType leftTyp [all...] |
H A D | CSSCalculationValue.h | 86 virtual CSSPrimitiveValue::UnitType primitiveType() const = 0;
|
H A D | MediaList.cpp | 252 static void addResolutionWarningMessageToConsole(Document* document, const String& serializedExpression, CSSPrimitiveValue::UnitType type) 293 CSSPrimitiveValue::UnitType suspiciousType = CSSPrimitiveValue::CSS_UNKNOWN;
|
H A D | CSSValuePool.cpp | 93 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitType type)
|
H A D | MediaValues.cpp | 141 bool MediaValues::computeLengthImpl(double value, CSSPrimitiveValue::UnitType type, unsigned defaultFontSize, unsigned viewportWidth, unsigned viewportHeight, double& result)
|
H A D | MediaQueryExp.cpp | 248 expValue.unit = (CSSPrimitiveValue::UnitType)value->unit;
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
H A D | MediaQueryToken.h | 69 CSSPrimitiveValue::UnitType unitType() const { return m_unit; } 79 CSSPrimitiveValue::UnitType m_unit;
|
H A D | CSSPropertyParser.cpp | 331 return cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitType>(value->unit)); 4905 static bool parseColorIntOrPercentage(const CharacterType*& string, const CharacterType* end, const char terminator, CSSPrimitiveValue::UnitType& expect, int& value) 5064 CSSPrimitiveValue::UnitType expect = CSSPrimitiveValue::CSS_UNKNOWN; 6219 result = cssValuePool().createValue(a->fValue, static_cast<CSSPrimitiveValue::UnitType>(a->unit)); 7151 filterValue->append(cssValuePool().createValue(amount, static_cast<CSSPrimitiveValue::UnitType>(value->unit))); 7163 filterValue->append(cssValuePool().createValue(value->fValue, static_cast<CSSPrimitiveValue::UnitType>(value->unit))); 8085 parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitType) value->unit); 8087 parsedValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType) value->unit); 8117 ret->append(CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitType) value->unit));
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | LengthStyleInterpolation.cpp | 45 static CSSPrimitiveValue::UnitType toUnitType(int lengthUnitType) 47 return static_cast<CSSPrimitiveValue::UnitType>(CSSPrimitiveValue::lengthUnitTypeToUnitType(static_cast<CSSPrimitiveValue::LengthUnitType>(lengthUnitType)));
|
H A D | LengthStyleInterpolationTest.cpp | 32 static void testPrimitiveValue(RefPtrWillBeRawPtr<CSSValue> value, double doubleValue, CSSPrimitiveValue::UnitType unitType)
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGLength.cpp | 313 CSSPrimitiveValue::UnitType cssType = CSSPrimitiveValue::CSS_UNKNOWN;
|
/external/chromium_org/chrome/browser/resources/print_preview/ |
H A D | native_layer.js | 411 var unitType = print_preview.MeasurementSystem.UnitType.IMPERIAL; 760 * @param {!print_preview.MeasurementSystem.UnitType} unitType Unit type of 908 * @return {!print_preview.MeasurementSystem.UnitType} Unit type of local
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | Element.h | 256 bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitType, bool important = false); 500 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPropertyID, double value, CSSPrimitiveValue::UnitType);
|