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 19 matching lines...) Expand all Loading... |
30 #include "core/html/HTMLFormControlElementWithState.h" | 30 #include "core/html/HTMLFormControlElementWithState.h" |
31 #include "core/html/HTMLOptionsCollection.h" | 31 #include "core/html/HTMLOptionsCollection.h" |
32 #include "core/html/forms/TypeAhead.h" | 32 #include "core/html/forms/TypeAhead.h" |
33 #include "wtf/Vector.h" | 33 #include "wtf/Vector.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class AutoscrollController; | 37 class AutoscrollController; |
38 class ExceptionState; | 38 class ExceptionState; |
39 class HTMLOptionElement; | 39 class HTMLOptionElement; |
40 class MouseEvent; | |
41 | 40 |
42 class HTMLSelectElement FINAL : public HTMLFormControlElementWithState, public T
ypeAheadDataSource { | 41 class HTMLSelectElement FINAL : public HTMLFormControlElementWithState, public T
ypeAheadDataSource { |
43 DEFINE_WRAPPERTYPEINFO(); | 42 DEFINE_WRAPPERTYPEINFO(); |
44 public: | 43 public: |
45 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&); | 44 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&); |
46 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&, HTMLFormE
lement*); | 45 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&, HTMLFormE
lement*); |
47 | 46 |
48 int selectedIndex() const; | 47 int selectedIndex() const; |
49 void setSelectedIndex(int); | 48 void setSelectedIndex(int); |
50 int suggestedIndex() const; | 49 int suggestedIndex() const; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 bool m_isProcessingUserDrivenChange; | 225 bool m_isProcessingUserDrivenChange; |
227 bool m_multiple; | 226 bool m_multiple; |
228 bool m_activeSelectionState; | 227 bool m_activeSelectionState; |
229 mutable bool m_shouldRecalcListItems; | 228 mutable bool m_shouldRecalcListItems; |
230 int m_suggestedIndex; | 229 int m_suggestedIndex; |
231 }; | 230 }; |
232 | 231 |
233 } // namespace blink | 232 } // namespace blink |
234 | 233 |
235 #endif // HTMLSelectElement_h | 234 #endif // HTMLSelectElement_h |
OLD | NEW |