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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; | 83 virtual void accessKeyAction(bool sendMouseEvents) OVERRIDE; |
84 void accessKeySetSelectedIndex(int); | 84 void accessKeySetSelectedIndex(int); |
85 | 85 |
86 void setMultiple(bool); | 86 void setMultiple(bool); |
87 | 87 |
88 void setSize(int); | 88 void setSize(int); |
89 | 89 |
90 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); | 90 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); |
91 void setLength(unsigned, ExceptionState&); | 91 void setLength(unsigned, ExceptionState&); |
92 | 92 |
93 Node* namedItem(const AtomicString& name); | 93 Element* namedItem(const AtomicString& name); |
94 Node* item(unsigned index); | 94 Element* item(unsigned index); |
95 | 95 |
96 void scrollToSelection(); | 96 void scrollToSelection(); |
97 | 97 |
98 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi
ft, bool fireOnChangeNow = true); | 98 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi
ft, bool fireOnChangeNow = true); |
99 | 99 |
100 bool canSelectAll() const; | 100 bool canSelectAll() const; |
101 void selectAll(); | 101 void selectAll(); |
102 int listToOptionIndex(int listIndex) const; | 102 int listToOptionIndex(int listIndex) const; |
103 void listBoxOnChange(); | 103 void listBoxOnChange(); |
104 int optionToListIndex(int optionIndex) const; | 104 int optionToListIndex(int optionIndex) const; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 bool m_activeSelectionState; | 207 bool m_activeSelectionState; |
208 mutable bool m_shouldRecalcListItems; | 208 mutable bool m_shouldRecalcListItems; |
209 bool m_isParsingInProgress; | 209 bool m_isParsingInProgress; |
210 }; | 210 }; |
211 | 211 |
212 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag)); | 212 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag)); |
213 | 213 |
214 } // namespace | 214 } // namespace |
215 | 215 |
216 #endif | 216 #endif |
OLD | NEW |