| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 void parseMultipleAttribute(const AtomicString&); | 183 void parseMultipleAttribute(const AtomicString&); |
| 184 int lastSelectedListIndex() const; | 184 int lastSelectedListIndex() const; |
| 185 void updateSelectedState(int listIndex, bool multi, bool shift); | 185 void updateSelectedState(int listIndex, bool multi, bool shift); |
| 186 void menuListDefaultEventHandler(Event*); | 186 void menuListDefaultEventHandler(Event*); |
| 187 void handlePopupOpenKeyboardEvent(Event*); | 187 void handlePopupOpenKeyboardEvent(Event*); |
| 188 bool shouldOpenPopupForKeyDownEvent(KeyboardEvent*); | 188 bool shouldOpenPopupForKeyDownEvent(KeyboardEvent*); |
| 189 bool shouldOpenPopupForKeyPressEvent(KeyboardEvent*); | 189 bool shouldOpenPopupForKeyPressEvent(KeyboardEvent*); |
| 190 void listBoxDefaultEventHandler(Event*); | 190 void listBoxDefaultEventHandler(Event*); |
| 191 void setOptionsChangedOnRenderer(); | 191 void setOptionsChangedOnRenderer(); |
| 192 size_t searchOptionsForValue(const String&, size_t listIndexStart, size_t li
stIndexEnd) const; | 192 size_t searchOptionsForValue(const String&, size_t listIndexStart, size_t li
stIndexEnd) const; |
| 193 String valueAtIndex(size_t index) const; |
| 193 | 194 |
| 194 enum SkipDirection { | 195 enum SkipDirection { |
| 195 SkipBackwards = -1, | 196 SkipBackwards = -1, |
| 196 SkipForwards = 1 | 197 SkipForwards = 1 |
| 197 }; | 198 }; |
| 198 int nextValidIndex(int listIndex, SkipDirection, int skip) const; | 199 int nextValidIndex(int listIndex, SkipDirection, int skip) const; |
| 199 int nextSelectableListIndex(int startIndex) const; | 200 int nextSelectableListIndex(int startIndex) const; |
| 200 int previousSelectableListIndex(int startIndex) const; | 201 int previousSelectableListIndex(int startIndex) const; |
| 201 int firstSelectableListIndex() const; | 202 int firstSelectableListIndex() const; |
| 202 int lastSelectableListIndex() const; | 203 int lastSelectableListIndex() const; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 226 bool m_isProcessingUserDrivenChange; | 227 bool m_isProcessingUserDrivenChange; |
| 227 bool m_multiple; | 228 bool m_multiple; |
| 228 bool m_activeSelectionState; | 229 bool m_activeSelectionState; |
| 229 mutable bool m_shouldRecalcListItems; | 230 mutable bool m_shouldRecalcListItems; |
| 230 int m_suggestedIndex; | 231 int m_suggestedIndex; |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace blink | 234 } // namespace blink |
| 234 | 235 |
| 235 #endif // HTMLSelectElement_h | 236 #endif // HTMLSelectElement_h |
| OLD | NEW |