Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/css/
DCSSMutableStyleDeclaration.cpp108 String CSSMutableStyleDeclaration::getPropertyValue(int propertyID) const in getPropertyValue()
110 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID); in getPropertyValue()
115 switch (propertyID) { in getPropertyValue()
448 PassRefPtr<CSSValue> CSSMutableStyleDeclaration::getPropertyCSSValue(int propertyID) const in getPropertyCSSValue()
450 const CSSProperty* property = findPropertyWithId(propertyID); in getPropertyCSSValue()
454 bool CSSMutableStyleDeclaration::removeShorthandProperty(int propertyID, bool notifyChanged) in removeShorthandProperty() argument
456 CSSPropertyLonghand longhand = longhandForProperty(propertyID); in removeShorthandProperty()
464 String CSSMutableStyleDeclaration::removeProperty(int propertyID, bool notifyChanged, bool returnTe… in removeProperty() argument
468 if (removeShorthandProperty(propertyID, notifyChanged)) { in removeProperty()
473 CSSProperty* foundProperty = findPropertyWithId(propertyID); in removeProperty()
[all …]
DCSSStyleDeclaration.h56 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const = 0;
57 virtual String getPropertyValue(int propertyID) const = 0;
58 virtual bool getPropertyPriority(int propertyID) const = 0;
59 virtual int getPropertyShorthand(int propertyID) const = 0;
60 virtual bool isPropertyImplicit(int propertyID) const = 0;
66 virtual String removeProperty(int propertyID, ExceptionCode&) = 0;
DCSSComputedStyleDeclaration.h50 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const;
51 virtual String getPropertyValue(int propertyID) const;
52 virtual bool getPropertyPriority(int propertyID) const;
59 PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID, EUpdateLayout) const;
63 PassRefPtr<CSSValue> getSVGPropertyCSSValue(int propertyID, EUpdateLayout) const;
74 virtual String removeProperty(int propertyID, ExceptionCode&);
DCSSMutableStyleDeclaration.h98 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const;
99 virtual String getPropertyValue(int propertyID) const;
100 virtual bool getPropertyPriority(int propertyID) const;
101 virtual int getPropertyShorthand(int propertyID) const;
102 virtual bool isPropertyImplicit(int propertyID) const;
105 virtual String removeProperty(int propertyID, ExceptionCode&);
109 bool setProperty(int propertyID, int value, bool important = false, bool notifyChanged = true);
111 …bool setProperty(int propertyID, const String& value, bool important = false, bool notifyChanged =…
113 String removeProperty(int propertyID, bool notifyChanged = true, bool returnText = false);
167 bool removeShorthandProperty(int propertyID, bool notifyChanged);
DCSSStyleDeclaration.cpp87 int propertyID = cssPropertyID(propertyName); in setProperty() local
88 if (!propertyID) in setProperty()
91 setProperty(propertyID, value, false, ec); in setProperty()
93 setProperty(propertyID, value.left(important - 1), true, ec); in setProperty()
DSVGCSSComputedStyleDeclaration.cpp62 PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getSVGPropertyCSSValue(int propertyID, EUpdateLay… in getSVGPropertyCSSValue() argument
80 switch (static_cast<CSSPropertyID>(propertyID)) { in getSVGPropertyCSSValue()
183 return valueForShadow(svgStyle->shadow(), propertyID, style); in getSVGPropertyCSSValue()
194 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID); in getSVGPropertyCSSValue()
196 LOG_ERROR("unimplemented propertyID: %d", propertyID); in getSVGPropertyCSSValue()
DCSSComputedStyleDeclaration.cpp389 static PassRefPtr<CSSValue> getPositionOffsetValue(RenderStyle* style, int propertyID, CSSPrimitive… in getPositionOffsetValue() argument
395 switch (propertyID) { in getPositionOffsetValue()
666 CSSPropertyID propertyID = static_cast<CSSPropertyID>(id); in valueForShadow() local
673 …RefPtr<CSSPrimitiveValue> spread = propertyID == CSSPropertyTextShadow ? PassRefPtr<CSSPrimitiveVa… in valueForShadow()
674 …RefPtr<CSSPrimitiveValue> style = propertyID == CSSPropertyTextShadow || s->style() == Normal ? Pa… in valueForShadow()
681 PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(int propertyID) const in getPropertyCSSValue()
683 return getPropertyCSSValue(propertyID, UpdateLayout); in getPropertyCSSValue()
779 static PassRefPtr<CSSValue> counterToCSSValue(const RenderStyle* style, int propertyID, CSSPrimitiv… in counterToCSSValue() argument
788 …short number = propertyID == CSSPropertyCounterIncrement ? it->second.m_incrementValue : it->secon… in counterToCSSValue()
794 static void logUnimplementedPropertyID(int propertyID) in logUnimplementedPropertyID() argument
[all …]
DCSSProperty.cpp157 int CSSProperty::resolveDirectionAwareProperty(int propertyID, TextDirection direction, WritingMode… in resolveDirectionAwareProperty() argument
159 switch (static_cast<CSSPropertyID>(propertyID)) { in resolveDirectionAwareProperty()
281 return propertyID; in resolveDirectionAwareProperty()
DCSSPropertyLonghand.cpp219 CSSPropertyLonghand longhandForProperty(int propertyID) in longhandForProperty() argument
225 return shorthandMap.get(propertyID); in longhandForProperty()
DCSSProperty.h64 static int resolveDirectionAwareProperty(int propertyID, TextDirection, WritingMode);
/external/webkit/Source/WebCore/editing/
DEditingStyle.cpp96 …static PassOwnPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, int primitiveValue, cons… in create() argument
98 return adoptPtr(new HTMLElementEquivalent(propertyID, primitiveValue, tagName)); in create()
173 …static PassOwnPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& t… in create() argument
175 return adoptPtr(new HTMLAttributeEquivalent(propertyID, tagName, attrName)); in create()
177 …static PassOwnPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& a… in create() argument
179 return adoptPtr(new HTMLAttributeEquivalent(propertyID, attrName)); in create()
293 EditingStyle::EditingStyle(int propertyID, const String& value) in EditingStyle() argument
298 setProperty(propertyID, value); in EditingStyle()
338 void EditingStyle::setProperty(int propertyID, const String& value, bool important) in setProperty() argument
344 m_mutableStyle->setProperty(propertyID, value, important, ec); in setProperty()
[all …]
DEditingStyle.h86 static PassRefPtr<EditingStyle> create(int propertyID, const String& value) in create() argument
88 return adoptRef(new EditingStyle(propertyID, value)); in create()
132 EditingStyle(int propertyID, const String& value);
135 void setProperty(int propertyID, const String& value, bool important = false);
201 int getIdentifierValue(CSSStyleDeclaration*, int propertyID);
DEditorCommand.cpp116 …Style(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& p… in executeApplyStyle() argument
119 style->setProperty(propertyID, propertyValue); in executeApplyStyle()
123 …Style(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, int propertyVal… in executeApplyStyle() argument
126 style->setProperty(propertyID, propertyValue); in executeApplyStyle()
133 …nList(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, CSSValue* value) in executeToggleStyleInList() argument
140 RefPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID); in executeToggleStyleInList()
154 newMutableStyle->setProperty(propertyID, newStyle, ec); in executeToggleStyleInList()
158 …Style(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const char* off… in executeToggleStyle() argument
166 styleIsPresent = frame->editor()->selectionStartHasStyle(propertyID, onValue); in executeToggleStyle()
168 styleIsPresent = frame->editor()->selectionHasStyle(propertyID, onValue) == TrueTriState; in executeToggleStyle()
[all …]
DEditor.h136 bool selectionStartHasStyle(int propertyID, const String& value) const;
137 TriState selectionHasStyle(int propertyID, const String& value) const;
138 String selectionStartCSSPropertyValue(int propertyID);
Dmarkup.cpp66 static bool propertyMissingOrEqualToNone(CSSStyleDeclaration*, int propertyID);
425 static bool propertyMissingOrEqualToNone(CSSStyleDeclaration* style, int propertyID) in propertyMissingOrEqualToNone() argument
429 RefPtr<CSSValue> value = style->getPropertyCSSValue(propertyID); in propertyMissingOrEqualToNone()
DEditor.cpp878 bool Editor::selectionStartHasStyle(int propertyID, const String& value) const in selectionStartHasStyle() argument
880 RefPtr<EditingStyle> style = EditingStyle::create(propertyID, value); in selectionStartHasStyle()
887 TriState Editor::selectionHasStyle(int propertyID, const String& value) const in selectionHasStyle() argument
889 RefPtr<EditingStyle> style = EditingStyle::create(propertyID, value); in selectionHasStyle()
935 String Editor::selectionStartCSSPropertyValue(int propertyID) in selectionStartCSSPropertyValue() argument
941 String value = selectionStyle->style()->getPropertyValue(propertyID); in selectionStartCSSPropertyValue()
946 …if (propertyID == CSSPropertyBackgroundColor && (m_frame->selection()->isRange() || hasTransparent… in selectionStartCSSPropertyValue()
956 if (propertyID == CSSPropertyFontSize) { in selectionStartCSSPropertyValue()
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitnetworkresponse.cpp81 static void webkit_network_response_get_property(GObject* object, guint propertyID, GValue* value, … in webkit_network_response_get_property() argument
85 switch(propertyID) { in webkit_network_response_get_property()
93 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_network_response_get_property()
97 static void webkit_network_response_set_property(GObject* object, guint propertyID, const GValue* v… in webkit_network_response_set_property() argument
102 switch(propertyID) { in webkit_network_response_set_property()
110 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_network_response_set_property()
Dwebkitviewportattributes.cpp115 static void webkit_viewport_attributes_get_property(GObject* object, guint propertyID, GValue* valu…
116 static void webkit_viewport_attributes_set_property(GObject* object, guint propertyID, const GValue…
435 static void webkit_viewport_attributes_get_property(GObject* object, guint propertyID, GValue* valu… in webkit_viewport_attributes_get_property() argument
440 switch (propertyID) { in webkit_viewport_attributes_get_property()
484 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, paramSpec); in webkit_viewport_attributes_get_property()
489 static void webkit_viewport_attributes_set_property(GObject* object, guint propertyID, const GValue… in webkit_viewport_attributes_set_property() argument
494 switch (propertyID) { in webkit_viewport_attributes_set_property()
514 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, paramSpec); in webkit_viewport_attributes_set_property()
Dwebkithittestresult.cpp82 static void webkit_hit_test_result_get_property(GObject* object, guint propertyID, GValue* value, G… in webkit_hit_test_result_get_property() argument
87 switch(propertyID) { in webkit_hit_test_result_get_property()
104 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_hit_test_result_get_property()
108 static void webkit_hit_test_result_set_property(GObject* object, guint propertyID, const GValue* va… in webkit_hit_test_result_set_property() argument
113 switch(propertyID) { in webkit_hit_test_result_set_property()
133 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_hit_test_result_set_property()
Dwebkitnetworkrequest.cpp81 static void webkit_network_request_get_property(GObject* object, guint propertyID, GValue* value, G… in webkit_network_request_get_property() argument
85 switch(propertyID) { in webkit_network_request_get_property()
93 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_network_request_get_property()
97 static void webkit_network_request_set_property(GObject* object, guint propertyID, const GValue* va… in webkit_network_request_set_property() argument
102 switch(propertyID) { in webkit_network_request_set_property()
110 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec); in webkit_network_request_set_property()
/external/clang/test/CodeGenObjC/
Dobjc2-ivar-assign.m21 @property ID propertyID; property
29 @synthesize propertyID = _propertyID;
38 myObj.propertyID = 0;
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8CSSStyleDeclarationCustom.cpp143 int propertyID = cssPropertyID(propName); in cssPropertyInfo() local
144 if (propertyID) { in cssPropertyInfo()
148 propInfo->propID = propertyID; in cssPropertyInfo()
/external/webkit/Source/WebCore/page/animation/
DAnimationBase.cpp227 static PropertyWrapperBase* wrapperForProperty(int propertyID);
732 static void addPropertyWrapper(int propertyID, PropertyWrapperBase* wrapper) in addPropertyWrapper() argument
734 int propIndex = propertyID - firstCSSProperty; in addPropertyWrapper()
766 int propertyID = animatableShorthandProperties[i]; in addShorthandProperties() local
767 CSSPropertyLonghand longhand = longhandForProperty(propertyID); in addShorthandProperties()
769 addPropertyWrapper(propertyID, new ShorthandPropertyWrapper(propertyID, longhand)); in addShorthandProperties()
782 static PropertyWrapperBase* wrapperForProperty(int propertyID) in wrapperForProperty() argument
784 int propIndex = propertyID - firstCSSProperty; in wrapperForProperty()
/external/webkit/Source/WebCore/dom/
DStyledElement.h47 void addCSSImageProperty(Attribute*, int propertyID, const String& url);
/external/clang/lib/AST/
DDeclObjC.cpp85 IdentifierInfo *propertyID) { in findPropertyDecl() argument
88 llvm::tie(I, E) = DC->lookup(propertyID); in findPropertyDecl()

12