| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 int optionToListIndex(int optionIndex) const; | 98 int optionToListIndex(int optionIndex) const; |
| 99 int activeSelectionStartListIndex() const; | 99 int activeSelectionStartListIndex() const; |
| 100 int activeSelectionEndListIndex() const; | 100 int activeSelectionEndListIndex() const; |
| 101 void setActiveSelectionAnchorIndex(int); | 101 void setActiveSelectionAnchorIndex(int); |
| 102 void setActiveSelectionEndIndex(int); | 102 void setActiveSelectionEndIndex(int); |
| 103 void updateListBoxSelection(bool deselectOtherOptions); | 103 void updateListBoxSelection(bool deselectOtherOptions); |
| 104 | 104 |
| 105 // For use in the implementation of HTMLOptionElement. | 105 // For use in the implementation of HTMLOptionElement. |
| 106 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); | 106 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); |
| 107 bool isParsingInProgress() const { return m_isParsingInProgress; } | 107 bool isParsingInProgress() const { return m_isParsingInProgress; } |
| 108 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti
onCode&); |
| 108 | 109 |
| 109 protected: | 110 protected: |
| 110 HTMLSelectElement(const QualifiedName&, Document*, HTMLFormElement*, bool cr
eatedByParser); | 111 HTMLSelectElement(const QualifiedName&, Document*, HTMLFormElement*, bool cr
eatedByParser); |
| 111 | 112 |
| 112 private: | 113 private: |
| 113 virtual const AtomicString& formControlType() const; | 114 virtual const AtomicString& formControlType() const; |
| 114 | 115 |
| 115 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 116 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
| 116 virtual bool isMouseFocusable() const; | 117 virtual bool isMouseFocusable() const; |
| 117 | 118 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 { | 221 { |
| 221 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLSelectElement(node)); | 222 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLSelectElement(node)); |
| 222 return static_cast<const HTMLSelectElement*>(node); | 223 return static_cast<const HTMLSelectElement*>(node); |
| 223 } | 224 } |
| 224 | 225 |
| 225 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch
anyone doing an unnecessary cast. | 226 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch
anyone doing an unnecessary cast. |
| 226 | 227 |
| 227 } // namespace | 228 } // namespace |
| 228 | 229 |
| 229 #endif | 230 #endif |
| OLD | NEW |