Searched refs:propertyID (Results 1 - 16 of 16) sorted by relevance

/external/webkit/WebCore/css/
H A DCSSComputedStyleDeclaration.h44 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const;
45 virtual String getPropertyValue(int propertyID) const;
46 virtual bool getPropertyPriority(int propertyID) const;
47 virtual int getPropertyShorthand(int /*propertyID*/) const { return -1; }
48 virtual bool isPropertyImplicit(int /*propertyID*/) const { return false; }
53 PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID, EUpdateLayout) const;
56 PassRefPtr<CSSValue> getSVGPropertyCSSValue(int propertyID, EUpdateLayout) const;
67 virtual String removeProperty(int propertyID, ExceptionCode&);
H A DCSSStyleDeclaration.h55 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const = 0;
56 virtual String getPropertyValue(int propertyID) const = 0;
57 virtual bool getPropertyPriority(int propertyID) const = 0;
58 virtual int getPropertyShorthand(int propertyID) const = 0;
59 virtual bool isPropertyImplicit(int propertyID) const = 0;
65 virtual String removeProperty(int propertyID, ExceptionCode&) = 0;
H A DCSSMutableStyleDeclaration.cpp103 String CSSMutableStyleDeclaration::getPropertyValue(int propertyID) const
105 RefPtr<CSSValue> value = getPropertyCSSValue(propertyID);
110 switch (propertyID) {
423 PassRefPtr<CSSValue> CSSMutableStyleDeclaration::getPropertyCSSValue(int propertyID) const
425 const CSSProperty* property = findPropertyWithId(propertyID);
429 bool CSSMutableStyleDeclaration::removeShorthandProperty(int propertyID, bool notifyChanged) argument
431 CSSPropertyLonghand longhand = longhandForProperty(propertyID);
439 String CSSMutableStyleDeclaration::removeProperty(int propertyID, bool notifyChanged, bool returnText) argument
443 if (removeShorthandProperty(propertyID, notifyChanged)) {
448 CSSProperty* foundProperty = findPropertyWithId(propertyID);
508 setProperty(int propertyID, const String& value, bool important, ExceptionCode& ec) argument
514 removeProperty(int propertyID, ExceptionCode& ec) argument
520 setProperty(int propertyID, const String& value, bool important, bool notifyChanged) argument
558 setProperty(int propertyID, int value, bool important, bool notifyChanged) argument
829 findPropertyWithId(int propertyID) argument
[all...]
H A DCSSMutableStyleDeclaration.h94 virtual PassRefPtr<CSSValue> getPropertyCSSValue(int propertyID) const;
95 virtual String getPropertyValue(int propertyID) const;
96 virtual bool getPropertyPriority(int propertyID) const;
97 virtual int getPropertyShorthand(int propertyID) const;
98 virtual bool isPropertyImplicit(int propertyID) const;
101 virtual String removeProperty(int propertyID, ExceptionCode&);
105 bool setProperty(int propertyID, int value, bool important = false, bool notifyChanged = true);
106 bool setProperty(int propertyID, const String& value, bool important = false, bool notifyChanged = true);
108 String removeProperty(int propertyID, bool notifyChanged = true, bool returnText = false);
155 bool removeShorthandProperty(int propertyID, boo
[all...]
H A DSVGCSSComputedStyleDeclaration.cpp49 PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getSVGPropertyCSSValue(int propertyID, EUpdateLayout updateLayout) const argument
67 switch (static_cast<CSSPropertyID>(propertyID)) {
170 return valueForShadow(svgStyle->shadow(), propertyID);
179 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID);
181 LOG_ERROR("unimplemented propertyID: %d", propertyID);
H A DCSSPropertyLonghand.cpp212 CSSPropertyLonghand longhandForProperty(int propertyID) argument
218 return shorthandMap.get(propertyID);
H A DCSSComputedStyleDeclaration.cpp348 static PassRefPtr<CSSValue> getPositionOffsetValue(RenderStyle* style, int propertyID) argument
354 switch (propertyID) {
570 CSSPropertyID propertyID = static_cast<CSSPropertyID>(id);
577 RefPtr<CSSPrimitiveValue> spread = propertyID == CSSPropertyTextShadow ? 0 : CSSPrimitiveValue::create(s->spread, CSSPrimitiveValue::CSS_PX);
578 RefPtr<CSSPrimitiveValue> style = propertyID == CSSPropertyTextShadow || s->style == Normal ? 0 : CSSPrimitiveValue::createIdentifier(CSSValueInset);
585 PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(int propertyID) const
587 return getPropertyCSSValue(propertyID, UpdateLayout);
651 static void logUnimplementedPropertyID(int propertyID) argument
654 if (!propertyIDSet.add(propertyID).second)
657 LOG_ERROR("WebKit does not yet implement getComputedStyle for '%s'.", getPropertyName(static_cast<CSSPropertyID>(propertyID)));
660 getPropertyCSSValue(int propertyID, EUpdateLayout updateLayout) const argument
[all...]
/external/webkit/WebKit/gtk/webkit/
H A Dwebkithittestresult.cpp71 static void webkit_hit_test_result_get_property(GObject* object, guint propertyID, GValue* value, GParamSpec* pspec) argument
76 switch(propertyID) {
90 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
94 static void webkit_hit_test_result_set_property(GObject* object, guint propertyID, const GValue* value, GParamSpec* pspec) argument
99 switch(propertyID) {
116 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
H A Dwebkitnetworkrequest.cpp84 static void webkit_network_request_get_property(GObject* object, guint propertyID, GValue* value, GParamSpec* pspec) argument
88 switch(propertyID) {
96 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
100 static void webkit_network_request_set_property(GObject* object, guint propertyID, const GValue* value, GParamSpec* pspec) argument
105 switch(propertyID) {
113 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
H A Dwebkitnetworkresponse.cpp81 static void webkit_network_response_get_property(GObject* object, guint propertyID, GValue* value, GParamSpec* pspec) argument
85 switch(propertyID) {
93 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
97 static void webkit_network_response_set_property(GObject* object, guint propertyID, const GValue* value, GParamSpec* pspec) argument
102 switch(propertyID) {
110 G_OBJECT_WARN_INVALID_PROPERTY_ID(object, propertyID, pspec);
/external/webkit/WebCore/bindings/v8/custom/
H A DV8CSSStyleDeclarationCustom.cpp143 int propertyID = cssPropertyID(propName); local
144 if (propertyID) {
148 propInfo->propID = propertyID;
/external/webkit/WebCore/dom/
H A DStyledElement.h52 void addCSSImageProperty(MappedAttribute*, int propertyID, const String& url);
/external/webkit/WebCore/page/animation/
H A DAnimationBase.cpp198 static PropertyWrapperBase* wrapperForProperty(int propertyID);
690 static void addPropertyWrapper(int propertyID, PropertyWrapperBase* wrapper) argument
692 int propIndex = propertyID - firstCSSProperty;
723 int propertyID = animatableShorthandProperties[i]; local
724 CSSPropertyLonghand longhand = longhandForProperty(propertyID);
726 addPropertyWrapper(propertyID, new ShorthandPropertyWrapper(propertyID, longhand));
739 static PropertyWrapperBase* wrapperForProperty(int propertyID) argument
741 int propIndex = propertyID - firstCSSProperty;
/external/webkit/WebCore/editing/
H A DEditorCommand.cpp112 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& propertyValue) argument
115 style->setProperty(propertyID, propertyValue);
119 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, int propertyValue) argument
122 style->setProperty(propertyID, propertyValue);
129 static bool executeToggleStyleInList(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, CSSValue* value) argument
134 RefPtr<CSSValue> selectedCSSValue = selectionStyle->getPropertyCSSValue(propertyID);
154 newMutableStyle->setProperty(propertyID, newStyle,ec);
158 static bool executeToggleStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const char* offValue, const char* onValue) argument
161 style->setProperty(propertyID, onValue); // We need to add this style to pass it to selectionStartHasStyle / selectionHasStyle
173 style->setProperty(propertyID, styleIsPresen
177 executeApplyParagraphStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& propertyValue) argument
230 stateStyle(Frame* frame, int propertyID, const char* desiredValue) argument
237 valueStyle(Frame* frame, int propertyID) argument
[all...]
H A DApplyStyleCommand.cpp145 static int getIdentifierValue(CSSMutableStyleDeclaration* style, int propertyID) argument
150 RefPtr<CSSValue> value = style->getPropertyCSSValue(propertyID);
157 static void setTextDecorationProperty(CSSMutableStyleDeclaration* style, const CSSValueList* newTextDecoration, int propertyID) argument
160 style->setProperty(propertyID, newTextDecoration->cssText(), style->getPropertyPriority(propertyID));
163 ASSERT(!style->getPropertyPriority(propertyID));
164 style->removeProperty(propertyID);
1252 CSSPropertyID propertyID = static_cast<CSSPropertyID>((*it).id()); local
1253 RefPtr<CSSValue> value = decl->getPropertyCSSValue(propertyID);
1254 if (value && (propertyID !
[all...]
H A Dmarkup.cpp696 static bool propertyMissingOrEqualToNone(CSSStyleDeclaration* style, int propertyID) argument
700 RefPtr<CSSValue> value = style->getPropertyCSSValue(propertyID);

Completed in 111 milliseconds