Home
last modified time | relevance | path

Searched refs:optionElement (Results 1 – 6 of 6) sorted by relevance

/external/webkit/WebCore/dom/
DSelectElement.cpp102 OptionElement* optionElement = toOptionElement(items[i]); in saveLastSelection() local
103 lastOnChangeSelection.append(optionElement && optionElement->selected()); in saveLastSelection()
141 OptionElement* optionElement = toOptionElement(items[i]); in setActiveSelectionAnchorIndex() local
142 cachedStateForActiveSelection.append(optionElement && optionElement->selected()); in setActiveSelectionAnchorIndex()
162 OptionElement* optionElement = toOptionElement(items[i]); in updateListBoxSelection() local
163 if (!optionElement || items[i]->disabled()) in updateListBoxSelection()
167 optionElement->setSelectedState(data.activeSelectionState()); in updateListBoxSelection()
169 optionElement->setSelectedState(false); in updateListBoxSelection()
171 optionElement->setSelectedState(cachedStateForActiveSelection[i]); in updateListBoxSelection()
193 OptionElement* optionElement = toOptionElement(items[i]); in listBoxOnChange() local
[all …]
/external/webkit/WebKit/chromium/src/
DWebSearchableFormData.cpp100 const HTMLOptionElement* optionElement = static_cast<const HTMLOptionElement*>(*i); in IsSelectInDefaultState() local
101 if (optionElement->selected() != optionElement->defaultSelected()) in IsSelectInDefaultState()
113 const HTMLOptionElement* optionElement = static_cast<const HTMLOptionElement*>(*i); in IsSelectInDefaultState() local
114 if (optionElement->defaultSelected()) { in IsSelectInDefaultState()
116 initialSelected = optionElement; in IsSelectInDefaultState()
120 initialSelected = optionElement; in IsSelectInDefaultState()
/external/webkit/WebCore/wml/
DWMLSelectElement.cpp368 if (OptionElement* optionElement = toOptionElement(items[listIndex])) in initializeVariables() local
369 pageState->storeVariable(name, optionElement->value()); in initializeVariables()
390 OptionElement* optionElement = toOptionElement(items[i]); in updateVariables() local
391 if (!optionElement) in updateVariables()
395 if (!optionElement->selected()) in updateVariables()
404 nameString += optionElement->value(); in updateVariables()
468 if (OptionElement* optionElement = toOptionElement(items[i])) { in valueStringToOptionIndices() local
469 if (optionElement->value() == value) { in valueStringToOptionIndices()
500 if (OptionElement* optionElement = toOptionElement(items[listIndex])) { in optionIndicesToValueString() local
504 valueString += optionElement->value(); in optionIndicesToValueString()
/external/webkit/WebCore/rendering/
DRenderMenuList.cpp138 OptionElement* optionElement = toOptionElement(element); in updateOptionsWidth() local
139 if (!optionElement) in updateOptionsWidth()
142 String text = optionElement->textIndentedToRespectGroupLabel(); in updateOptionsWidth()
186 if (OptionElement* optionElement = toOptionElement(listItems[i])) in setTextFromOption() local
187 text = optionElement->textIndentedToRespectGroupLabel(); in setTextFromOption()
332 else if (OptionElement* optionElement = toOptionElement(element)) in itemText() local
333 return optionElement->textIndentedToRespectGroupLabel(); in itemText()
509 if (OptionElement* optionElement = toOptionElement(element)) in itemIsSelected() local
510 return optionElement->selected(); in itemIsSelected()
DRenderListBox.cpp107 if (OptionElement* optionElement = toOptionElement(element)) in updateFromElement() local
108 text = optionElement->textIndentedToRespectGroupLabel(); in updateFromElement()
299 OptionElement* optionElement = toOptionElement(element); in paintItemForeground() local
302 if (optionElement) in paintItemForeground()
303 itemText = optionElement->textIndentedToRespectGroupLabel(); in paintItemForeground()
316 if (optionElement && optionElement->selected()) { in paintItemForeground()
349 OptionElement* optionElement = toOptionElement(element); in paintItemBackground() local
352 if (optionElement && optionElement->selected()) { in paintItemBackground()
/external/webkit/WebKit/win/
DDOMHTMLClasses.cpp864 HTMLOptionElement* optionElement = static_cast<HTMLOptionElement*>(m_element); in text() local
866 *result = BString(optionElement->text()).release(); in text()
901 HTMLOptionElement* optionElement = static_cast<HTMLOptionElement*>(m_element); in label() local
903 *result = BString(optionElement->label()).release(); in label()