Home
last modified time | relevance | path

Searched refs:listItems (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
DRenderMenuList.cpp142 const Vector<Element*>& listItems = toSelectElement(static_cast<Element*>(node()))->listItems(); in updateOptionsWidth() local
143 int size = listItems.size(); in updateOptionsWidth()
145 Element* element = listItems[i]; in updateOptionsWidth()
188 const Vector<Element*>& listItems = select->listItems(); in setTextFromOption() local
189 int size = listItems.size(); in setTextFromOption()
194 Element* element = listItems[i]; in setTextFromOption()
351 const Vector<Element*>& listItems = select->listItems(); in itemText() local
352 if (listIndex >= listItems.size()) in itemText()
354 Element* element = listItems[listIndex]; in itemText()
376 const Vector<Element*>& listItems = select->listItems(); in itemAccessibilityText() local
[all …]
DRenderListBox.cpp101 … const Vector<Element*>& listItems = toSelectElement(static_cast<Element*>(node()))->listItems(); in updateFromElement() local
106 Element* element = listItems[i]; in updateFromElement()
219 return toSelectElement(static_cast<Element*>(node()))->listItems().size(); in numItems()
317 const Vector<Element*>& listItems = select->listItems(); in addFocusRingRects() local
319 OptionElement* optionElement = toOptionElement(listItems[i]); in addFocusRingRects()
361 const Vector<Element*>& listItems = select->listItems(); in paintItemForeground() local
362 Element* element = listItems[listIndex]; in paintItemForeground()
412 const Vector<Element*>& listItems = select->listItems(); in paintItemBackground() local
413 Element* element = listItems[listIndex]; in paintItemBackground()
670 const Vector<Element*>& listItems = toSelectElement(static_cast<Element*>(node()))->listItems(); in nodeAtPoint() local
[all …]
/external/webkit/Source/WebCore/dom/
DSelectElement.cpp82 static int nextValidIndex(const Vector<Element*>& listItems, int listIndex, SkipDirection direction… in nextValidIndex() argument
86 int size = listItems.size(); in nextValidIndex()
89 if (!listItems[listIndex]->disabled() && isOptionElement(listItems[listIndex])) { in nextValidIndex()
100 return nextValidIndex(data.listItems(element), startIndex, SkipForwards, 1); in nextSelectableListIndex()
106 startIndex = data.listItems(element).size(); in previousSelectableListIndex()
107 return nextValidIndex(data.listItems(element), startIndex, SkipBackwards, 1); in previousSelectableListIndex()
112 const Vector<Element*>& items = data.listItems(element); in firstSelectableListIndex()
121 return nextValidIndex(data.listItems(element), -1, SkipForwards, INT_MAX); in lastSelectableListIndex()
127 const Vector<Element*>& items = data.listItems(element); in nextSelectableListIndexPageAway()
168 const Vector<Element*>& items = data.listItems(element); in saveLastSelection()
[all …]
DSelectElement.h44 virtual const Vector<Element*>& listItems() const = 0;
156 Vector<Element*>& listItems(const Element*);
157 const Vector<Element*>& listItems(const Element*) const;
DOptionElement.cpp56 const Vector<Element*>& items = selectElement->listItems(); in optionIndex()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityMenuListPopup.cpp95 const Vector<Element*>& listItems = static_cast<HTMLSelectElement*>(selectNode)->listItems(); in addChildren() local
96 unsigned length = listItems.size(); in addChildren()
100 …cessibilityMenuListOption* option = menuListOptionAccessibilityObject(toHTMLElement(listItems[i])); in addChildren()
DAccessibilityListBoxOption.cpp210 const Vector<Element*>& listItems = selectElement->listItems(); in listBoxOptionIndex() local
211 unsigned length = listItems.size(); in listBoxOptionIndex()
213 if (listItems[i] == m_optionElement) in listBoxOptionIndex()
DAccessibilityListBox.cpp77 const Vector<Element*>& listItems = static_cast<HTMLSelectElement*>(selectNode)->listItems(); in addChildren() local
78 unsigned length = listItems.size(); in addChildren()
82 … AccessibilityObject* listOption = listBoxOptionAccessibilityObject(toHTMLElement(listItems[i])); in addChildren()
DAccessibilityRenderObject.cpp1127 const Vector<Element*> listItems = selectNode->listItems(); in stringValue() local
1130 if (selectedIndex >= 0 && selectedIndex < (int)listItems.size()) in stringValue()
1131 selectedOption = listItems[selectedIndex]; in stringValue()
/external/webkit/Source/WebKit/chromium/src/
DWebSearchableFormData.cpp99 const Vector<Element*>& listItems = select->listItems(); in IsSelectInDefaultState() local
101 for (Vector<Element*>::const_iterator i(listItems.begin()); i != listItems.end(); ++i) { in IsSelectInDefaultState()
114 for (Vector<Element*>::const_iterator i(listItems.begin()); i != listItems.end(); ++i) { in IsSelectInDefaultState()
DWebSelectElement.cpp54 WebVector<WebElement> WebSelectElement::listItems() const in listItems() function in WebKit::WebSelectElement
56 const Vector<Element*>& sourceItems = constUnwrap<HTMLSelectElement>()->listItems(); in listItems()
/external/webkit/Source/WebCore/html/
DHTMLSelectElement.cpp133 HTMLOptionElement* option = static_cast<HTMLOptionElement*>(listItems()[listIndex]); in hasPlaceholderLabelOption()
197 listItems()[listIndex]->remove(ec); in remove()
211 const Vector<Element*>& items = listItems(); in value()
225 const Vector<Element*>& items = listItems(); in setValue()
499 const Vector<Element*>& items = listItems(); in setLength()
DHTMLSelectElement.h68 virtual const Vector<Element*>& listItems() const { return m_data.listItems(this); } in listItems() function
/external/webkit/Source/WebCore/wml/
DWMLSelectElement.h71 virtual const Vector<Element*>& listItems() const { return m_data.listItems(this); } in listItems() function
DWMLSelectElement.cpp344 const Vector<Element*>& items = m_data.listItems(this); in initializeVariables()
394 const Vector<Element*>& items = m_data.listItems(this); in updateVariables()
457 const Vector<Element*>& items = m_data.listItems(this); in valueStringToOptionIndices()
493 const Vector<Element*>& items = m_data.listItems(this); in optionIndicesToValueString()
/external/chromium/chrome/browser/resources/options/
Dcontent_settings_exceptions_area.js415 var listItems = this.items;
416 for (var i = 0; i < listItems.length; i++) {
417 var listItem = listItems[i];
/external/webkit/Source/WebKit/chromium/public/
DWebSelectElement.h59 WEBKIT_API WebVector<WebElement> listItems() const;
/external/chromium/webkit/glue/
Dform_field.cc54 WebVector<WebElement> list_items = select_element.listItems(); in FormField()
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp856 const Vector<Element*> listItems = selectNode->listItems(); in optionFromSelection() local
858 if (selectedIndex < 0 || selectedIndex >= static_cast<int>(listItems.size())) in optionFromSelection()
933 const Vector<Element*> listItems = selectNode->listItems(); in webkit_accessible_selection_get_selection_count() local
935 return selectedIndex >= 0 && selectedIndex < static_cast<int>(listItems.size()); in webkit_accessible_selection_get_selection_count()
/external/chromium/chrome/browser/resources/bookmark_manager/js/
Dmain.js576 var listItems = list.items;
577 var len = listItems.length;
579 listItems[len - 1].bookmarkId != dragId) {
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
DFormManagerAndroid.cpp331 WTF::Vector<Element*> list_items = select_element.listItems(); in GetOptionStringsFromElement()
407 Vector<Element*> list_items = select_element->listItems(); in HTMLFormControlElementToFormField()
/external/webkit/Source/WebCore/
DChangeLog-2005-12-1920344 …These extra elements are added to our listItems array, which we use internally. But this should n…
20352 (DOM::HTMLSelectElementImpl::listItems): Now that our listItems can also contain <hr>s,
20353 …I've changed listItems to be a QMemArray<HTMLElementImpl*> instead of QMemArray<HTMLGenericFormEle…
20359 …SelectElementImpl::recalcListItems): Added case for <hr> to add the element to the listItems array.
20360 (DOM::HTMLSelectElementImpl::selectedIndex): Updated type for array of listItems.
20377 (RenderSelect::layout): Updated type for array of listItems.
DChangeLog-2009-06-164824 (WebCore::WMLSelectElement::listItems):
5380 (WebCore::SelectElementData::listItems):
5443 (WebCore::HTMLSelectElement::listItems):
5488 (WebCore::SelectElementData::listItems):
5551 (WebCore::HTMLSelectElement::listItems):
6876 (WebCore::HTMLSelectElement::listItems):
DChangeLog-2006-12-3143269 Changed the listItems function to return a const reference to the vector so
49223 (WebCore::HTMLSelectElement::listItems):
/external/webkit/Source/WebKit/chromium/
DChangeLog-2011-02-16948 (WebKit::WebSelectElement::listItems): const.
13819 (WebKit::WebSelectElement::listItems):

12