| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 int activeSelectionStartListIndex() const; | 109 int activeSelectionStartListIndex() const; |
| 110 int activeSelectionEndListIndex() const; | 110 int activeSelectionEndListIndex() const; |
| 111 void setActiveSelectionAnchorIndex(int); | 111 void setActiveSelectionAnchorIndex(int); |
| 112 void setActiveSelectionEndIndex(int); | 112 void setActiveSelectionEndIndex(int); |
| 113 void updateListBoxSelection(bool deselectOtherOptions); | 113 void updateListBoxSelection(bool deselectOtherOptions); |
| 114 | 114 |
| 115 // For use in the implementation of HTMLOptionElement. | 115 // For use in the implementation of HTMLOptionElement. |
| 116 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); | 116 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); |
| 117 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti
onState&); | 117 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti
onState&); |
| 118 | 118 |
| 119 void updateListOnRenderer(); |
| 119 protected: | 120 protected: |
| 120 HTMLSelectElement(Document&, HTMLFormElement*); | 121 HTMLSelectElement(Document&, HTMLFormElement*); |
| 121 | 122 |
| 122 private: | 123 private: |
| 123 virtual const AtomicString& formControlType() const OVERRIDE; | 124 virtual const AtomicString& formControlType() const OVERRIDE; |
| 124 | 125 |
| 125 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; | 126 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
| 126 | 127 |
| 127 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR
IDE; | 128 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR
IDE; |
| 128 virtual void dispatchBlurEvent(Element* newFocusedElemnet) OVERRIDE; | 129 virtual void dispatchBlurEvent(Element* newFocusedElemnet) OVERRIDE; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 bool m_isProcessingUserDrivenChange; | 209 bool m_isProcessingUserDrivenChange; |
| 209 bool m_multiple; | 210 bool m_multiple; |
| 210 bool m_activeSelectionState; | 211 bool m_activeSelectionState; |
| 211 mutable bool m_shouldRecalcListItems; | 212 mutable bool m_shouldRecalcListItems; |
| 212 int m_suggestedIndex; | 213 int m_suggestedIndex; |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 } // namespace | 216 } // namespace |
| 216 | 217 |
| 217 #endif | 218 #endif |
| OLD | NEW |