Home
last modified time | relevance | path

Searched refs:ShapeValue (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DShapeValue.h41 class ShapeValue : public RefCounted<ShapeValue> {
51 static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape) in createShapeValue()
53 return adoptRef(new ShapeValue(shape)); in createShapeValue()
56 static PassRefPtr<ShapeValue> createOutsideValue() in createOutsideValue()
58 return adoptRef(new ShapeValue(Outside)); in createOutsideValue()
61 static PassRefPtr<ShapeValue> createLayoutBoxValue(LayoutBox layoutBox) in createLayoutBoxValue()
63 return adoptRef(new ShapeValue(layoutBox)); in createLayoutBoxValue()
66 static PassRefPtr<ShapeValue> createImageValue(PassRefPtr<StyleImage> image) in createImageValue()
68 return adoptRef(new ShapeValue(image)); in createImageValue()
85 bool operator==(const ShapeValue& other) const { return type() == other.type(); }
[all …]
DStyleRareNonInheritedData.h130 RefPtr<ShapeValue> m_shapeInside;
131 RefPtr<ShapeValue> m_shapeOutside;
DRenderStyle.h1402 void setShapeInside(PassRefPtr<ShapeValue> value) in setShapeInside()
1408 ShapeValue* shapeInside() const { return rareNonInheritedData->m_shapeInside.get(); } in shapeInside()
1409 ShapeValue* resolvedShapeInside() const in resolvedShapeInside()
1411 ShapeValue* shapeInside = this->shapeInside(); in resolvedShapeInside()
1412 if (shapeInside && shapeInside->type() == ShapeValue::Outside) in resolvedShapeInside()
1417 void setShapeOutside(PassRefPtr<ShapeValue> value) in setShapeOutside()
1423 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutside.get(); } in shapeOutside()
1425 static ShapeValue* initialShapeInside() { return 0; } in initialShapeInside()
1426 static ShapeValue* initialShapeOutside() { return 0; } in initialShapeOutside()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShapeOutsideInfo.cpp40 ShapeValue* shapeValue = box->style()->shapeOutside(); in isEnabledFor()
45 case ShapeValue::Shape: in isEnabledFor()
47 case ShapeValue::Image: in isEnabledFor()
49 case ShapeValue::Box: in isEnabledFor()
51 case ShapeValue::Outside: in isEnabledFor()
95 ShapeValue* ShapeOutsideInfo::shapeValue() const in shapeValue()
DShapeInsideInfo.cpp46 ShapeValue* shapeValue = renderer->style()->resolvedShapeInside(); in isEnabledFor()
51 case ShapeValue::Shape: in isEnabledFor()
53 case ShapeValue::Image: in isEnabledFor()
55 case ShapeValue::Box: in isEnabledFor()
56 case ShapeValue::Outside: in isEnabledFor()
104 ShapeValue* ShapeInsideInfo::shapeValue() const in shapeValue()
DShapeInfo.cpp59 const ShapeValue* shapeValue = this->shapeValue(); in computedShape()
63 case ShapeValue::Shape: in computedShape()
67 case ShapeValue::Image: in computedShape()
71 case ShapeValue::Box: in computedShape()
74 case ShapeValue::Outside: in computedShape()
DShapeInfo.h73 if (shapeValue()->type() == ShapeValue::Box) { in setShapeSize()
129 virtual ShapeValue* shapeValue() const = 0;
134 if (shapeValue()->type() == ShapeValue::Box) { in logicalTopOffset()
151 if (shapeValue()->type() == ShapeValue::Box) { in logicalLeftOffset()
DShapeOutsideInfo.h59 virtual ShapeValue* shapeValue() const OVERRIDE;
DShapeInsideInfo.h104 virtual ShapeValue* shapeValue() const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableShapeValue.h42 static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape) in create()
46 ShapeValue* shapeValue() const { return m_shape.get(); } in shapeValue()
52 AnimatableShapeValue(ShapeValue* shape) in AnimatableShapeValue()
60 RefPtr<ShapeValue> m_shape;
DAnimatableShapeValue.cpp40 if (m_shape->type() != ShapeValue::Shape || shapeValue->m_shape->type() != ShapeValue::Shape) in interpolateTo()
49 …return AnimatableShapeValue::create(ShapeValue::createShapeValue(toShape->blend(fromShape, fractio… in interpolateTo()
54 const ShapeValue* shape = toAnimatableShapeValue(value)->m_shape.get(); in equalTo()
DAnimatableValueTestHelperTest.cpp130 …PrintToString(AnimatableShapeValue::create(ShapeValue::createShapeValue(BasicShapeCircle::create()… in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResourceLoader.h34 class ShapeValue; variable
57 void loadPendingShapeImage(RenderStyle*, ShapeValue*);
DStyleResourceLoader.cpp106 void StyleResourceLoader::loadPendingShapeImage(RenderStyle* renderStyle, ShapeValue* shapeValue) in loadPendingShapeImage()
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
DCSSPropertyAnimation.cpp130 static inline PassRefPtr<ShapeValue> blendFunc(const AnimationBase*, ShapeValue* from, ShapeValue* … in blendFunc()
133 if (!from || !to || from->type() != ShapeValue::Shape || to->type() != ShapeValue::Shape) in blendFunc()
142 return ShapeValue::createShapeValue(toShape->blend(fromShape, progress)); in blendFunc()
396 class PropertyWrapperShape : public RefCountedPropertyWrapper<ShapeValue> {
398 …pperShape(CSSPropertyID prop, ShapeValue* (RenderStyle::*getter)() const, void (RenderStyle::*sett… in PropertyWrapperShape() argument
399 : RefCountedPropertyWrapper<ShapeValue>(prop, getter, setter) in PropertyWrapperShape()
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
DStyleBuilderFunctions.cpp.tmpl498 {{ set_value(property) }}(ShapeValue::createLayoutBoxValue(LayoutBox(*primitiveValue)));
500 {{ set_value(property) }}(ShapeValue::createOutsideValue());
502 …{{ set_value(property) }}(ShapeValue::createShapeValue(basicShapeForValue(state, primitiveValue->g…
505 … {{ set_value(property) }}(ShapeValue::createImageValue(state.styleImage({{property_id}}, value)));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderObject.h664 void updateShapeImage(const ShapeValue*, const ShapeValue*);
1074 void removeShapeImageClient(ShapeValue*);
DRenderBlock.h487 void updateShapeInsideInfoAfterStyleChange(const ShapeValue*, const ShapeValue* oldShape);
DRenderObject.cpp2169 void RenderObject::updateShapeImage(const ShapeValue* oldShapeValue, const ShapeValue* newShapeValu… in updateShapeImage()
2715 void RenderObject::removeShapeImageClient(ShapeValue* shapeValue) in removeShapeImageClient()
DRenderBlock.cpp1394 ShapeValue* shapeValue = style()->shapeInside(); in imageChanged()
1401 ShapeValue* shapeOutsideValue = style()->shapeOutside(); in imageChanged()
1406 …enderBlock::updateShapeInsideInfoAfterStyleChange(const ShapeValue* shapeInside, const ShapeValue*… in updateShapeInsideInfoAfterStyleChange()
DRenderBox.cpp282 const ShapeValue* shapeOutside = style.shapeOutside(); in updateShapeOutsideInfoAfterStyleChange()
283 …const ShapeValue* oldShapeOutside = oldStyle ? oldStyle->shapeOutside() : RenderStyle::initialShap… in updateShapeOutsideInfoAfterStyleChange()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSProperties.in111 shape-inside type_name=ShapeValue*, custom_value
113 shape-outside type_name=ShapeValue*, custom_value
DCSSComputedStyleDeclaration.cpp2758 if (style->shapeInside()->type() == ShapeValue::Box) in getPropertyCSSValue()
2760 if (style->shapeInside()->type() == ShapeValue::Outside) in getPropertyCSSValue()
2762 if (style->shapeInside()->type() == ShapeValue::Image) { in getPropertyCSSValue()
2767 ASSERT(style->shapeInside()->type() == ShapeValue::Shape); in getPropertyCSSValue()
2772 if (style->shapeOutside()->type() == ShapeValue::Box) in getPropertyCSSValue()
2774 if (style->shapeOutside()->type() == ShapeValue::Image) { in getPropertyCSSValue()
2779 ASSERT(style->shapeOutside()->type() == ShapeValue::Shape); in getPropertyCSSValue()
/external/chromium_org/third_party/WebKit/Source/core/animation/css/
DCSSAnimatableValueFactory.cpp240 inline static PassRefPtr<AnimatableValue> createFromShapeValue(ShapeValue* value) in createFromShapeValue()
/external/chromium_org/tools/telemetry/unittest_data/
Dperf_report_output.txt1271 …derBlock::updateShapeInsideInfoAfterStyleChange(WebCore::ShapeValue const*, WebCore::ShapeValue co…
1273 …derBlock::updateShapeInsideInfoAfterStyleChange(WebCore::ShapeValue const*, WebCore::ShapeValue co…