Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: Source/core/html/HTMLSelectElement.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/html/HTMLShadowElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
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; 40 class MouseEvent;
41 41
42 class HTMLSelectElement FINAL : public HTMLFormControlElementWithState, public T ypeAheadDataSource { 42 class HTMLSelectElement FINAL : public HTMLFormControlElementWithState, public T ypeAheadDataSource {
43 DEFINE_WRAPPERTYPEINFO();
43 public: 44 public:
44 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&); 45 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&);
45 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&, HTMLFormE lement*); 46 static PassRefPtrWillBeRawPtr<HTMLSelectElement> create(Document&, HTMLFormE lement*);
46 47
47 int selectedIndex() const; 48 int selectedIndex() const;
48 void setSelectedIndex(int); 49 void setSelectedIndex(int);
49 int suggestedIndex() const; 50 int suggestedIndex() const;
50 void setSuggestedIndex(int); 51 void setSuggestedIndex(int);
51 52
52 void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMul tipleSelection = false); 53 void optionSelectedByUser(int index, bool dispatchChangeEvent, bool allowMul tipleSelection = false);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 int m_lastOnChangeIndex; 223 int m_lastOnChangeIndex;
223 int m_activeSelectionAnchorIndex; 224 int m_activeSelectionAnchorIndex;
224 int m_activeSelectionEndIndex; 225 int m_activeSelectionEndIndex;
225 bool m_isProcessingUserDrivenChange; 226 bool m_isProcessingUserDrivenChange;
226 bool m_multiple; 227 bool m_multiple;
227 bool m_activeSelectionState; 228 bool m_activeSelectionState;
228 mutable bool m_shouldRecalcListItems; 229 mutable bool m_shouldRecalcListItems;
229 int m_suggestedIndex; 230 int m_suggestedIndex;
230 }; 231 };
231 232
232 } // namespace 233 } // namespace blink
233 234
234 #endif 235 #endif // HTMLSelectElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLScriptElement.h ('k') | Source/core/html/HTMLShadowElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698