Home
last modified time | relevance | path

Searched refs:m_selectedIndex (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DDateTimeSymbolicFieldElement.cpp54 , m_selectedIndex(-1) in DateTimeSymbolicFieldElement()
92 return m_selectedIndex >= 0; in hasValue()
107 m_selectedIndex = invalidIndex; in setEmptyValue()
113m_selectedIndex = std::max(0, std::min(newSelectedIndex, static_cast<int>(m_symbols.size() - 1))); in setValueAsInteger()
120 if (!indexIsInRange(--m_selectedIndex)) in stepDown()
121 m_selectedIndex = m_maximumIndex; in stepDown()
123 m_selectedIndex = m_maximumIndex; in stepDown()
130 if (!indexIsInRange(++m_selectedIndex)) in stepUp()
131 m_selectedIndex = m_minimumIndex; in stepUp()
133 m_selectedIndex = m_minimumIndex; in stepUp()
[all …]
DDateTimeSymbolicFieldElement.h74 int m_selectedIndex; variable
/external/chromium_org/third_party/WebKit/Source/web/
DPopupListBox.cpp73 , m_selectedIndex(0) in PopupListBox()
220 if (m_selectedIndex == -1) { in handleKeyEvent()
225 acceptIndex(m_selectedIndex); // may delete this in handleKeyEvent()
240 adjustSelectedIndex(-m_selectedIndex); in handleKeyEvent()
258 if (m_originalIndex != m_selectedIndex) { in handleKeyEvent()
263 m_acceptedIndexOnAbandon = m_selectedIndex; in handleKeyEvent()
265 setOriginalIndex(m_selectedIndex); in handleKeyEvent()
266 m_popupClient->setTextFromItem(m_selectedIndex); in handleKeyEvent()
271 if (m_selectedIndex >= 0) { in handleKeyEvent()
272 acceptIndex(m_selectedIndex); // May delete us. in handleKeyEvent()
[all …]
DPopupListBox.h146 int selectedIndex() const { return m_selectedIndex; } in selectedIndex()
213 void scrollToRevealSelection() { scrollToRevealRow(m_selectedIndex); } in scrollToRevealSelection()
263 int m_selectedIndex; variable
DPopupContainer.cpp479 return m_listBox->m_popupClient->itemToolTip(m_listBox->m_selectedIndex); in getSelectedItemToolTip()