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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; |
150 virtual void restoreFormControlState(const FormControlState&) override; | 150 virtual void restoreFormControlState(const FormControlState&) override; |
151 | 151 |
152 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 152 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
153 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 153 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
154 | 154 |
155 virtual RenderObject* createRenderer(RenderStyle*) override; | 155 virtual RenderObject* createRenderer(const RenderStyle*) override; |
156 virtual bool appendFormData(FormDataList&, bool) override; | 156 virtual bool appendFormData(FormDataList&, bool) override; |
157 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; | 157 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; |
158 | 158 |
159 virtual void defaultEventHandler(Event*) override; | 159 virtual void defaultEventHandler(Event*) override; |
160 | 160 |
161 void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true)
; | 161 void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true)
; |
162 | 162 |
163 void recalcListItems(bool updateSelectedStates = true) const; | 163 void recalcListItems(bool updateSelectedStates = true) const; |
164 | 164 |
165 void typeAheadFind(KeyboardEvent*); | 165 void typeAheadFind(KeyboardEvent*); |
(...skipping 62 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 |