| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 virtual void trace(Visitor*) override; | 129 virtual void trace(Visitor*) override; |
| 130 | 130 |
| 131 protected: | 131 protected: |
| 132 HTMLSelectElement(Document&, HTMLFormElement*); | 132 HTMLSelectElement(Document&, HTMLFormElement*); |
| 133 | 133 |
| 134 private: | 134 private: |
| 135 virtual const AtomicString& formControlType() const override; | 135 virtual const AtomicString& formControlType() const override; |
| 136 | 136 |
| 137 virtual bool shouldShowFocusRingOnMouseFocus() const override; | 137 virtual bool shouldShowFocusRingOnMouseFocus() const override; |
| 138 | 138 |
| 139 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) overr
ide; | 139 virtual void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) ov
erride; |
| 140 virtual void dispatchBlurEvent(Element* newFocusedElemnet) override; | 140 virtual void dispatchBlurEvent(Element* newFocusedElemnet) override; |
| 141 | 141 |
| 142 virtual bool canStartSelection() const override { return false; } | 142 virtual bool canStartSelection() const override { return false; } |
| 143 | 143 |
| 144 virtual bool isEnumeratable() const override { return true; } | 144 virtual bool isEnumeratable() const override { return true; } |
| 145 virtual bool isInteractiveContent() const override; | 145 virtual bool isInteractiveContent() const override; |
| 146 virtual bool supportsAutofocus() const override; | 146 virtual bool supportsAutofocus() const override; |
| 147 virtual bool supportLabels() const override { return true; } | 147 virtual bool supportLabels() const override { return true; } |
| 148 | 148 |
| 149 virtual FormControlState saveFormControlState() const override; | 149 virtual FormControlState saveFormControlState() const override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 bool m_multiple; | 228 bool m_multiple; |
| 229 bool m_activeSelectionState; | 229 bool m_activeSelectionState; |
| 230 mutable bool m_shouldRecalcListItems; | 230 mutable bool m_shouldRecalcListItems; |
| 231 int m_suggestedIndex; | 231 int m_suggestedIndex; |
| 232 bool m_isAutofilledByPreview; | 232 bool m_isAutofilledByPreview; |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 } // namespace blink | 235 } // namespace blink |
| 236 | 236 |
| 237 #endif // HTMLSelectElement_h | 237 #endif // HTMLSelectElement_h |
| OLD | NEW |