OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 4 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
5 * (C) 2000 Dirk Mueller (mueller@kde.org) | 5 * (C) 2000 Dirk Mueller (mueller@kde.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights
reserved. |
7 * Copyright (C) 2010 Google Inc. All rights reserved. | 7 * Copyright (C) 2010 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void scrollToSelection(); | 103 void scrollToSelection(); |
104 void scrollToIndex(int listIndex); | 104 void scrollToIndex(int listIndex); |
105 | 105 |
106 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi
ft, bool fireOnChangeNow = true); | 106 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi
ft, bool fireOnChangeNow = true); |
107 | 107 |
108 bool canSelectAll() const; | 108 bool canSelectAll() const; |
109 void selectAll(); | 109 void selectAll(); |
110 int listToOptionIndex(int listIndex) const; | 110 int listToOptionIndex(int listIndex) const; |
111 void listBoxOnChange(); | 111 void listBoxOnChange(); |
112 int optionToListIndex(int optionIndex) const; | 112 int optionToListIndex(int optionIndex) const; |
113 int activeSelectionStartListIndex() const; | |
114 int activeSelectionEndListIndex() const; | 113 int activeSelectionEndListIndex() const; |
115 void setActiveSelectionAnchorIndex(int); | 114 void setActiveSelectionAnchorIndex(int); |
116 void setActiveSelectionEndIndex(int); | 115 void setActiveSelectionEndIndex(int); |
117 | 116 |
118 // For use in the implementation of HTMLOptionElement. | 117 // For use in the implementation of HTMLOptionElement. |
119 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); | 118 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); |
120 void optionInserted(const HTMLOptionElement&, bool optionIsSelected); | 119 void optionInserted(const HTMLOptionElement&, bool optionIsSelected); |
121 void optionRemoved(const HTMLOptionElement&); | 120 void optionRemoved(const HTMLOptionElement&); |
122 bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionEleme
nt>, ExceptionState&); | 121 bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionEleme
nt>, ExceptionState&); |
123 | 122 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 bool m_multiple; | 228 bool m_multiple; |
230 bool m_activeSelectionState; | 229 bool m_activeSelectionState; |
231 mutable bool m_shouldRecalcListItems; | 230 mutable bool m_shouldRecalcListItems; |
232 int m_suggestedIndex; | 231 int m_suggestedIndex; |
233 bool m_isAutofilledByPreview; | 232 bool m_isAutofilledByPreview; |
234 }; | 233 }; |
235 | 234 |
236 } // namespace blink | 235 } // namespace blink |
237 | 236 |
238 #endif // HTMLSelectElement_h | 237 #endif // HTMLSelectElement_h |
OLD | NEW |