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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 virtual bool isInteractiveContent() const override; | 147 virtual bool isInteractiveContent() const override; |
148 virtual bool supportsAutofocus() const override; | 148 virtual bool supportsAutofocus() const override; |
149 virtual bool supportLabels() const override { return true; } | 149 virtual bool supportLabels() const override { return true; } |
150 | 150 |
151 virtual FormControlState saveFormControlState() const override; | 151 virtual FormControlState saveFormControlState() const override; |
152 virtual void restoreFormControlState(const FormControlState&) override; | 152 virtual void restoreFormControlState(const FormControlState&) override; |
153 | 153 |
154 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 154 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
155 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 155 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
156 | 156 |
157 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; | 157 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
158 virtual bool appendFormData(FormDataList&, bool) override; | 158 virtual bool appendFormData(FormDataList&, bool) override; |
159 virtual void didAddClosedShadowRoot(ShadowRoot&) override; | 159 virtual void didAddClosedShadowRoot(ShadowRoot&) override; |
160 | 160 |
161 virtual void defaultEventHandler(Event*) override; | 161 virtual void defaultEventHandler(Event*) override; |
162 | 162 |
163 void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true)
; | 163 void dispatchInputAndChangeEventForMenuList(bool requiresUserGesture = true)
; |
164 | 164 |
165 void recalcListItems(bool updateSelectedStates = true) const; | 165 void recalcListItems(bool updateSelectedStates = true) const; |
166 | 166 |
167 void typeAheadFind(KeyboardEvent*); | 167 void typeAheadFind(KeyboardEvent*); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 bool m_multiple; | 229 bool m_multiple; |
230 bool m_activeSelectionState; | 230 bool m_activeSelectionState; |
231 mutable bool m_shouldRecalcListItems; | 231 mutable bool m_shouldRecalcListItems; |
232 int m_suggestedIndex; | 232 int m_suggestedIndex; |
233 bool m_isAutofilledByPreview; | 233 bool m_isAutofilledByPreview; |
234 }; | 234 }; |
235 | 235 |
236 } // namespace blink | 236 } // namespace blink |
237 | 237 |
238 #endif // HTMLSelectElement_h | 238 #endif // HTMLSelectElement_h |
OLD | NEW |