/external/chromium_org/third_party/WebKit/Source/core/css/ |
DOMWindowCSS.cpp | 61 CSSPropertyID propertyID = cssPropertyID(property.stripWhiteSpace()); 62 if (propertyID == CSSPropertyInvalid) 65 if (!RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID)) 78 return BisonCSSParser::parseValue(dummyStyle.get(), propertyID, normalizedValue, false, HTMLStandardMode, 0);
|
PropertySetCSSStyleDeclaration.cpp | 177 CSSPropertyID propertyID = cssPropertyID(propertyName); 178 if (!propertyID) 180 return cloneAndCacheForCSSOM(propertySet().getPropertyCSSValue(propertyID).get()); 185 CSSPropertyID propertyID = cssPropertyID(propertyName); 186 if (!propertyID) 188 return propertySet().getPropertyValue(propertyID); 193 CSSPropertyID propertyID = cssPropertyID(propertyName); 194 if (!propertyID) 196 return propertySet().propertyIsImportant(propertyID) ? "important" : ""; 201 CSSPropertyID propertyID = cssPropertyID(propertyName) [all...] |
StylePropertySet.cpp | 103 int ImmutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const 105 // Convert here propertyID into an uint16_t to compare it with the metadata's m_propertyID to avoid 107 uint16_t id = static_cast<uint16_t>(propertyID); 111 ASSERT(RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID) || isInternalProperty(propertyID)); 139 String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const 141 RefPtrWillBeRawPtr<CSSValue> value = getPropertyCSSValue(propertyID); 145 return StylePropertySerializer(*this).getPropertyValue(propertyID); 148 PassRefPtrWillBeRawPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propertyID) const 150 int foundPropertyIndex = findPropertyIndex(propertyID); [all...] |
CSSProperty.h | 35 StylePropertyMetadata(CSSPropertyID propertyID, bool isSetFromShorthand, int indexInShorthandsVector, bool important, bool implicit, bool inherited) 36 : m_propertyID(propertyID) 58 CSSProperty(CSSPropertyID propertyID, PassRefPtrWillBeRawPtr<CSSValue> value, bool important = false, bool isSetFromShorthand = false, int indexInShorthandsVector = 0, bool implicit = false) 59 : m_metadata(propertyID, isSetFromShorthand, indexInShorthandsVector, important, implicit, isInheritedProperty(propertyID)) 98 CSSPropertyID propertyId = CSSPropertyInvalid; 101 propertyId = CSSPropertyWebkitAnimation; 104 propertyId = CSSPropertyWebkitAnimationDelay; 107 propertyId = CSSPropertyWebkitAnimationDirection; 110 propertyId = CSSPropertyWebkitAnimationDuration [all...] |
StylePropertyShorthandCustom.cpp | 115 const StylePropertyShorthand& parsingShorthandForProperty(CSSPropertyID propertyID) 117 switch (propertyID) { 129 return shorthandForProperty(propertyID); 145 bool isExpandedShorthandForAll(CSSPropertyID propertyId) 156 if (propertyId == CSSPropertyMarker || propertyId == CSSPropertyFont) 158 return shorthandForProperty(propertyId).length();
|
CSSProperty.cpp | 179 CSSPropertyID CSSProperty::resolveDirectionAwareProperty(CSSPropertyID propertyID, TextDirection direction, WritingMode writingMode) 181 switch (propertyID) { 255 return propertyID; 259 bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) 261 switch (propertyID) { 687 bool CSSProperty::isAffectedByAllProperty(CSSPropertyID propertyID) 689 if (propertyID == CSSPropertyAll) 698 return propertyID != CSSPropertyUnicodeBidi && propertyID != CSSPropertyDirection;
|
StylePropertySerializer.cpp | 46 String StylePropertySerializer::getPropertyText(CSSPropertyID propertyID, const String& value, bool isImportant, bool isNotFirstDecl) const 51 result.append(getPropertyName(propertyID)); 71 CSSPropertyID propertyID = property.id(); 73 ASSERT(RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID) || isInternalProperty(propertyID)); 78 switch (propertyID) { 225 propertyID = shorthandPropertyID; 231 if (value == "initial" && !CSSProperty::isInheritedProperty(propertyID)) 234 result.append(getPropertyText(propertyID, value, property.isImportant(), numDecls++)); 244 String StylePropertySerializer::getPropertyValue(CSSPropertyID propertyID) cons [all...] |
FontFace.cpp | 97 static PassRefPtrWillBeRawPtr<CSSValue> parseCSSValue(const Document* document, const String& s, CSSPropertyID propertyID) 102 BisonCSSParser::parseValue(parsedStyle.get(), propertyID, s, true, *document); 103 return parsedStyle->getPropertyCSSValue(propertyID); 274 void FontFace::setPropertyFromString(const Document* document, const String& s, CSSPropertyID propertyID, ExceptionState& exceptionState) 276 RefPtrWillBeRawPtr<CSSValue> value = parseCSSValue(document, s, propertyID); 277 if (!value || !setPropertyValue(value, propertyID)) 281 bool FontFace::setPropertyFromStyle(const StylePropertySet& properties, CSSPropertyID propertyID) 283 return setPropertyValue(properties.getPropertyCSSValue(propertyID), propertyID); 286 bool FontFace::setPropertyValue(PassRefPtrWillBeRawPtr<CSSValue> value, CSSPropertyID propertyID) [all...] |
CSSPrimitiveValue.cpp | 235 static const AtomicString& propertyName(CSSPropertyID propertyID) 237 ASSERT_ARG(propertyID, propertyID >= 0); 238 ASSERT_ARG(propertyID, (propertyID >= firstCSSProperty && propertyID < firstCSSProperty + numCSSProperties)); 240 if (propertyID < 0) 243 return getPropertyNameAtomicString(propertyID); 268 CSSPrimitiveValue::CSSPrimitiveValue(CSSPropertyID propertyID) 272 m_value.propertyID = propertyID [all...] |
SVGCSSComputedStyleDeclaration.cpp | 99 PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getSVGPropertyCSSValue(CSSPropertyID propertyID, EUpdateLayout updateLayout) const 117 switch (propertyID) { 232 ASSERT_WITH_MESSAGE(0, "unimplemented propertyID: %d", propertyID); 234 WTF_LOG_ERROR("unimplemented propertyID: %d", propertyID);
|
CSSComputedStyleDeclaration.cpp | 588 static PassRefPtrWillBeRawPtr<CSSValueList> createPositionListForLayer(CSSPropertyID propertyID, const FillLayer* layer, const RenderStyle& style) 592 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition); 597 ASSERT(propertyID == CSSPropertyBackgroundPosition || propertyID == CSSPropertyWebkitMaskPosition); 604 static PassRefPtrWillBeRawPtr<CSSValue> valueForPositionOffset(RenderStyle& style, CSSPropertyID propertyID, const RenderObject* renderer) 607 switch (propertyID) { 625 LayoutUnit containingBlockSize = (propertyID == CSSPropertyLeft || propertyID == CSSPropertyRight) [all...] |
StylePropertySet.h | 294 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const 297 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); 298 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID);
|
CSSPrimitiveValue.h | 225 static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createIdentifier(CSSPropertyID propertyID) 227 return adoptRefWillBeNoop(new CSSPrimitiveValue(propertyID)); 347 CSSPropertyID getPropertyID() const { return m_primitiveUnitType == CSS_PROPERTY_ID ? m_value.propertyID : CSSPropertyInvalid; } 412 CSSPropertyID propertyID;
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/ |
StylePropertyShorthand.cpp.tmpl | 45 const StylePropertyShorthand& shorthandForProperty(CSSPropertyID propertyID) 48 switch (propertyID) { 65 void getMatchingShorthandsForLonghand(CSSPropertyID propertyID, Vector<StylePropertyShorthand, 4>* result) 68 switch (propertyID) {
|
/external/chromium_org/third_party/WebKit/Source/core/animation/interpolation/ |
DeferredLegacyStyleInterpolationTest.cpp | 20 static bool test(CSSPropertyID propertyID, const String& string) 23 if (propertyID == CSSPropertyFloodColor) 26 bool parseSuccess = BisonCSSParser::parseValue(dummyStyle.get(), propertyID, string, false, parserMode, 0); 28 return DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(*dummyStyle->getPropertyCSSValue(propertyID));
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
EditingStyle.cpp | 156 static PassOwnPtrWillBeRawPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, CSSValueID primitiveValue, const QualifiedName& tagName) 158 return adoptPtrWillBeNoop(new HTMLElementEquivalent(propertyID, primitiveValue, tagName)); 248 static PassOwnPtrWillBeRawPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& tagName, const QualifiedName& attrName) 250 return adoptPtrWillBeNoop(new HTMLAttributeEquivalent(propertyID, tagName, attrName)); 252 static PassOwnPtrWillBeRawPtr<HTMLAttributeEquivalent> create(CSSPropertyID propertyID, const QualifiedName& attrName) 254 return adoptPtrWillBeNoop(new HTMLAttributeEquivalent(propertyID, attrName)); 372 EditingStyle::EditingStyle(CSSPropertyID propertyID, const String& value) 377 setProperty(propertyID, value); 489 void EditingStyle::setProperty(CSSPropertyID propertyID, const String& value, bool important) 494 m_mutableStyle->setProperty(propertyID, value, important) [all...] |
EditingStyle.h | 91 static PassRefPtrWillBeRawPtr<EditingStyle> create(CSSPropertyID propertyID, const String& value) 93 return adoptRefWillBeNoop(new EditingStyle(propertyID, value));
|
EditorCommand.cpp | 119 static bool executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const String& propertyValue) 122 style->setProperty(propertyID, propertyValue); 126 static bool executeApplyStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValueID propertyValue) 129 style->setProperty(propertyID, propertyValue); 136 static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, CSSValue* value) 142 RefPtrWillBeRawPtr<CSSValue> selectedCSSValue = selectionStyle->style()->getPropertyCSSValue(propertyID); 156 newMutableStyle->setProperty(propertyID, newStyle); 160 static bool executeToggleStyle(LocalFrame& frame, EditorCommandSource source, EditAction action, CSSPropertyID propertyID, const char* offValue, const char* onValue) 168 styleIsPresent = frame.editor().selectionStartHasStyle(propertyID, onValue); 170 styleIsPresent = frame.editor().selectionHasStyle(propertyID, onValue) == TrueTriState [all...] |
Editor.cpp | 639 bool Editor::selectionStartHasStyle(CSSPropertyID propertyID, const String& value) const 641 return EditingStyle::create(propertyID, value)->triStateOfStyle( 642 EditingStyle::styleAtSelectionStart(m_frame.selection().selection(), propertyID == CSSPropertyBackgroundColor).get()); 645 TriState Editor::selectionHasStyle(CSSPropertyID propertyID, const String& value) const 647 return EditingStyle::create(propertyID, value)->triStateOfStyle(m_frame.selection().selection()); 650 String Editor::selectionStartCSSPropertyValue(CSSPropertyID propertyID) 653 propertyID == CSSPropertyBackgroundColor); 657 if (propertyID == CSSPropertyFontSize) 659 return selectionStyle->style()->getPropertyValue(propertyID); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
CSSToStyleMap.cpp | 50 PassRefPtr<StyleImage> CSSToStyleMap::styleImage(CSSPropertyID propertyId, CSSValue* value) 52 return m_elementStyleResources.styleImage(m_state.document(), m_state.document().textLinkColors(), m_state.style()->color(), propertyId, value); 218 void CSSToStyleMap::mapFillXPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const 231 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPositionX || propertyID == CSSPropertyWebkitMaskPositionX); 242 void CSSToStyleMap::mapFillYPosition(CSSPropertyID propertyID, FillLayer* layer, CSSValue* value) const 255 ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPositionY || propertyID == CSSPropertyWebkitMaskPositionY) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
BisonCSSParser-in.cpp | 201 static inline bool isColorPropertyID(CSSPropertyID propertyId) 203 switch (propertyId) { 230 static bool parseColorValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode) 234 if (!isColorPropertyID(propertyId)) 251 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important)); 258 declaration->addParsedProperty(CSSProperty(propertyId, value.release(), important)); 262 static inline bool isSimpleLengthPropertyID(CSSPropertyID propertyId, bool& acceptsNegativeNumbers) 264 switch (propertyId) { 325 static bool parseSimpleLengthValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode) 331 if (isCSSViewportParsingEnabledForMode(cssParserMode) || !isSimpleLengthPropertyID(propertyId, acceptsNegativeNumbers) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLElement.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Element.cpp | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ui.views_3.5.0.I20100527-0800.jar | |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGElement.cpp | 62 CSSPropertyID propertyId = cssPropertyID(attrName.localName()); 63 if (!propertyId && attrName == transform_originAttr) { 64 propertyId = CSSPropertyWebkitTransformOrigin; // cssPropertyID("-webkit-transform-origin") 65 } else if (propertyId == CSSPropertyTransformOrigin) { 66 propertyId = CSSPropertyWebkitTransformOrigin; 68 ASSERT(propertyId > 0); 69 propertyNameToIdMap->set(attrName.localName().impl(), propertyId); 777 CSSPropertyID propertyID = cssPropertyIdForSVGAttributeName(name); 778 if (propertyID > 0) 779 addPropertyToPresentationAttributeStyle(style, propertyID, value) [all...] |