Home
last modified time | relevance | path

Searched refs:attributeValue (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLPreloadScanner.cpp123 String attributeValue = StringImpl::create8BitIfPossible(iter->value); in processAttributes() local
124 processAttribute(attributeName, attributeValue); in processAttributes()
152 void processAttribute(const NameType& attributeName, const String& attributeValue) in processAttribute() argument
155 m_charset = attributeValue; in processAttribute()
159 setUrlToLoad(attributeValue, DisallowURLReplacement); in processAttribute()
161 setCrossOriginAllowed(attributeValue); in processAttribute()
165 …setUrlToLoad(bestFitSourceForImageAttributes(m_deviceScaleFactor, attributeValue, m_srcsetImageCan… in processAttribute()
167 setCrossOriginAllowed(attributeValue); in processAttribute()
171 … m_srcsetImageCandidate = bestFitSourceForSrcsetAttribute(m_deviceScaleFactor, attributeValue); in processAttribute()
176 setUrlToLoad(attributeValue, DisallowURLReplacement); in processAttribute()
[all …]
DHTMLMetaCharsetParser.cpp109 String attributeValue = StringImpl::create8BitIfPossible(iter->value); in processMeta() local
110 attributes.append(std::make_pair(attributeName, attributeValue)); in processMeta()
125 const String& attributeValue = iter->second; in encodingFromMetaAttributes() local
128 if (equalIgnoringCase(attributeValue, "content-type")) in encodingFromMetaAttributes()
132 charset = attributeValue; in encodingFromMetaAttributes()
135 charset = extractCharset(attributeValue); in encodingFromMetaAttributes()
DHTMLResourcePreloader.cpp76 …ic bool mediaAttributeMatches(Frame* frame, RenderStyle* renderStyle, const String& attributeValue) in mediaAttributeMatches() argument
78 RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(attributeValue); in mediaAttributeMatches()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
DPropertyDescriptorEditorProvider.java32 Object attributeValue = descriptor.getValue("enumerationValues"); in getEditorForPropertyDescriptor() local
34 return new EnumerationValuesPropertyEditor(attributeValue); in getEditorForPropertyDescriptor()
50 Object attributeValue = descriptor.getValue("enumerationValues"); in isEnumerationProperty() local
52 if (!(attributeValue instanceof Object[])) { in isEnumerationProperty()
55 Object[] enumElements = (Object[]) attributeValue; in isEnumerationProperty()
DEnumerationValuesPropertyEditor.java40 public EnumerationValuesPropertyEditor(Object attributeValue) { in EnumerationValuesPropertyEditor() argument
41 Object[] enumElements = (Object[]) attributeValue; in EnumerationValuesPropertyEditor()
/external/chromium_org/ui/webui/resources/js/
Di18n_template.js39 'i18n-content': function(element, attributeValue, obj) { argument
40 element.textContent = obj[attributeValue];
46 'i18n-options': function(element, attributeValue, obj) { argument
47 var options = obj[attributeValue];
61 'i18n-values': function(element, attributeValue, obj) { argument
62 var parts = attributeValue.replace(/\s/g, '').split(/;/);
/external/chromium/chrome/browser/resources/shared/js/
Di18n_template.js37 'i18n-content': function(element, attributeValue, obj) { argument
38 element.textContent = obj[attributeValue];
44 'i18n-options': function(element, attributeValue, obj) { argument
45 var options = obj[attributeValue];
59 'i18n-values': function(element, attributeValue, obj) { argument
60 var parts = attributeValue.replace(/\s/g, '').split(/;/);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLBaseElement.cpp86 const AtomicString& attributeValue = fastGetAttribute(hrefAttr); in href() local
87 if (attributeValue.isNull()) in href()
91 KURL(document().url(), stripLeadingAndTrailingHTMLSpaces(attributeValue)) : in href()
92 … KURL(document().url(), stripLeadingAndTrailingHTMLSpaces(attributeValue), document().encoding()); in href()
DHTMLTextFormControlElement.cpp114 const AtomicString& attributeValue = fastGetAttribute(placeholderAttr); in strippedPlaceholder() local
115 if (!attributeValue.contains(newlineCharacter) && !attributeValue.contains(carriageReturn)) in strippedPlaceholder()
116 return attributeValue; in strippedPlaceholder()
119 unsigned length = attributeValue.length(); in strippedPlaceholder()
122 UChar character = attributeValue[i]; in strippedPlaceholder()
134 const AtomicString& attributeValue = fastGetAttribute(placeholderAttr); in isPlaceholderEmpty() local
135 return attributeValue.string().find(isNotLineBreak) == kNotFound; in isPlaceholderEmpty()
DHTMLElement.cpp945 …olorToStyle(MutableStylePropertySet* style, CSSPropertyID propertyID, const String& attributeValue) in addHTMLColorToStyle() argument
948 if (attributeValue.isEmpty()) in addHTMLColorToStyle()
951 String colorString = attributeValue.stripWhiteSpace(); in addHTMLColorToStyle()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFormSubmission.cpp178 String attributeValue; in create() local
179 if (!(attributeValue = submitButton->fastGetAttribute(formactionAttr)).isNull()) in create()
180 copiedAttributes.parseAction(attributeValue); in create()
181 if (!(attributeValue = submitButton->fastGetAttribute(formenctypeAttr)).isNull()) in create()
182 copiedAttributes.updateEncodingType(attributeValue); in create()
183 if (!(attributeValue = submitButton->fastGetAttribute(formmethodAttr)).isNull()) in create()
184 copiedAttributes.updateMethodType(attributeValue); in create()
185 if (!(attributeValue = submitButton->fastGetAttribute(formtargetAttr)).isNull()) in create()
186 copiedAttributes.setTarget(attributeValue); in create()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DTestPlugin.cpp179 const WebString& attributeValue = params.attributeValues[i]; in TestPlugin() local
182 m_scene.primitive = parsePrimitive(attributeValue); in TestPlugin()
184 parseColor(attributeValue, m_scene.backgroundColor); in TestPlugin()
186 parseColor(attributeValue, m_scene.primitiveColor); in TestPlugin()
188 m_scene.opacity = parseOpacity(attributeValue); in TestPlugin()
190 m_touchEventRequest = parseTouchEventRequestType(attributeValue); in TestPlugin()
192 m_reRequestTouchEvents = parseBoolean(attributeValue); in TestPlugin()
194 m_printEventDetails = parseBoolean(attributeValue); in TestPlugin()
196 m_canProcessDrag = parseBoolean(attributeValue); in TestPlugin()
198 m_printUserGestureStatus = parseBoolean(attributeValue); in TestPlugin()
/external/chromium_org/third_party/skia/src/ports/
DSkFontConfigParser_android.cpp86 const char* attributeValue = attributes[currentAttributeIndex+1]; in fontFileElementHandler() local
88 int valueLength = strlen(attributeValue); in fontFileElementHandler()
90 if (strncmp(attributeValue, "elegant", valueLength) == 0) { in fontFileElementHandler()
92 } else if (strncmp(attributeValue, "compact", valueLength) == 0) { in fontFileElementHandler()
96 newFileInfo->fPaintOptions.setLanguage(attributeValue); in fontFileElementHandler()
/external/skia/src/ports/
DSkFontConfigParser_android.cpp86 const char* attributeValue = attributes[currentAttributeIndex+1]; in fontFileElementHandler() local
88 int valueLength = strlen(attributeValue); in fontFileElementHandler()
90 if (strncmp(attributeValue, "elegant", valueLength) == 0) { in fontFileElementHandler()
92 } else if (strncmp(attributeValue, "compact", valueLength) == 0) { in fontFileElementHandler()
96 newFileInfo->fPaintOptions.setLanguage(attributeValue); in fontFileElementHandler()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLViewer.js349 var attributeValue = createHTMLElement('span');
350 attributeValue.classList.add('webkit-html-attribute-value');
351 attributeValue.textContent = attributeNode.value;
358 attribute.appendChild(attributeValue);
/external/chromium_org/third_party/WebKit/public/web/
DWebElement.h71 BLINK_EXPORT WebString attributeValue(unsigned index) const;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectricConfig.java175 …vate int getApplicationFlag(final Document doc, final String attribute, final int attributeValue) { in getApplicationFlag() argument
177 return "true".equalsIgnoreCase(flagString) ? attributeValue : 0; in getApplicationFlag()
/external/chromium_org/third_party/WebKit/Source/web/
DWebElement.cpp131 WebString WebElement::attributeValue(unsigned index) const in attributeValue() function in blink::WebElement
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DElementsTreeOutline.js1506 var attributeValue = domNode ? domNode.getAttribute(attributeName) : undefined;
1507 if (typeof attributeValue !== "undefined")
1508 attributeValueElement.textContent = attributeValue;
/external/chromium_org/content/renderer/accessibility/
Daccessibility_node_serializer.cc251 std::string value = UTF16ToUTF8(element.attributeValue(i)); in SerializeAccessibilityNode()
/external/chromium_org/content/renderer/
Drender_view_impl.cc4333 if (LowerCaseEqualsASCII(element.attributeValue(i), "textbox")) in IsEditableNode()