| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 void setSize(int); | 95 void setSize(int); |
| 96 | 96 |
| 97 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); | 97 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); |
| 98 void setLength(unsigned, ExceptionState&); | 98 void setLength(unsigned, ExceptionState&); |
| 99 | 99 |
| 100 Element* namedItem(const AtomicString& name); | 100 Element* namedItem(const AtomicString& name); |
| 101 HTMLOptionElement* item(unsigned index); | 101 HTMLOptionElement* item(unsigned index); |
| 102 | 102 |
| 103 void scrollToSelection(); | 103 void scrollToSelection(); |
| 104 void scrollTo(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; | 113 int activeSelectionStartListIndex() const; |
| 114 int activeSelectionEndListIndex() const; | 114 int activeSelectionEndListIndex() const; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 bool m_multiple; | 227 bool m_multiple; |
| 228 bool m_activeSelectionState; | 228 bool m_activeSelectionState; |
| 229 mutable bool m_shouldRecalcListItems; | 229 mutable bool m_shouldRecalcListItems; |
| 230 int m_suggestedIndex; | 230 int m_suggestedIndex; |
| 231 bool m_isAutofilledByPreview; | 231 bool m_isAutofilledByPreview; |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 } // namespace blink | 234 } // namespace blink |
| 235 | 235 |
| 236 #endif // HTMLSelectElement_h | 236 #endif // HTMLSelectElement_h |
| OLD | NEW |