| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 bool usesMenuList() const; | 61 bool usesMenuList() const; |
| 62 | 62 |
| 63 void add(HTMLElement*, HTMLElement* beforeElement, ExceptionState&); | 63 void add(HTMLElement*, HTMLElement* beforeElement, ExceptionState&); |
| 64 | 64 |
| 65 using Node::remove; | 65 using Node::remove; |
| 66 void remove(int index); | 66 void remove(int index); |
| 67 void remove(HTMLOptionElement*); | 67 void remove(HTMLOptionElement*); |
| 68 | 68 |
| 69 String value() const; | 69 String value() const; |
| 70 void setValue(const String&); | 70 void setValue(const String&); |
| 71 String suggestedValue() const; |
| 72 void setSuggestedValue(const String&); |
| 73 String originalValue() const; |
| 74 void setOriginalValue(const String&); |
| 71 | 75 |
| 72 PassRefPtr<HTMLOptionsCollection> options(); | 76 PassRefPtr<HTMLOptionsCollection> options(); |
| 73 PassRefPtr<HTMLCollection> selectedOptions(); | 77 PassRefPtr<HTMLCollection> selectedOptions(); |
| 74 | 78 |
| 75 void optionElementChildrenChanged(); | 79 void optionElementChildrenChanged(); |
| 76 | 80 |
| 77 void setRecalcListItems(); | 81 void setRecalcListItems(); |
| 78 void invalidateSelectedItems(); | 82 void invalidateSelectedItems(); |
| 79 void updateListItemSelectedStates(); | 83 void updateListItemSelectedStates(); |
| 80 | 84 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 TypeAhead m_typeAhead; | 205 TypeAhead m_typeAhead; |
| 202 int m_size; | 206 int m_size; |
| 203 int m_lastOnChangeIndex; | 207 int m_lastOnChangeIndex; |
| 204 int m_activeSelectionAnchorIndex; | 208 int m_activeSelectionAnchorIndex; |
| 205 int m_activeSelectionEndIndex; | 209 int m_activeSelectionEndIndex; |
| 206 bool m_isProcessingUserDrivenChange; | 210 bool m_isProcessingUserDrivenChange; |
| 207 bool m_multiple; | 211 bool m_multiple; |
| 208 bool m_activeSelectionState; | 212 bool m_activeSelectionState; |
| 209 mutable bool m_shouldRecalcListItems; | 213 mutable bool m_shouldRecalcListItems; |
| 210 bool m_isParsingInProgress; | 214 bool m_isParsingInProgress; |
| 215 String m_suggestedValue; |
| 216 String m_originalValue; |
| 211 }; | 217 }; |
| 212 | 218 |
| 213 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag)); | 219 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag)); |
| 214 | 220 |
| 215 } // namespace | 221 } // namespace |
| 216 | 222 |
| 217 #endif | 223 #endif |
| OLD | NEW |