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

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

Issue 143943020: Replace [TreatNullAs=functionName] with [StrictTypeChecking] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests, Python, and IDLExtendedAttributes.txt Created 6 years, 10 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/HTMLOptionsCollection.idl ('k') | Source/core/html/HTMLSelectElement.cpp » ('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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int activeSelectionStartListIndex() const; 105 int activeSelectionStartListIndex() const;
106 int activeSelectionEndListIndex() const; 106 int activeSelectionEndListIndex() const;
107 void setActiveSelectionAnchorIndex(int); 107 void setActiveSelectionAnchorIndex(int);
108 void setActiveSelectionEndIndex(int); 108 void setActiveSelectionEndIndex(int);
109 void updateListBoxSelection(bool deselectOtherOptions); 109 void updateListBoxSelection(bool deselectOtherOptions);
110 110
111 // For use in the implementation of HTMLOptionElement. 111 // For use in the implementation of HTMLOptionElement.
112 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); 112 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
113 bool isParsingInProgress() const { return m_isParsingInProgress; } 113 bool isParsingInProgress() const { return m_isParsingInProgress; }
114 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti onState&); 114 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti onState&);
115 bool anonymousIndexedSetterRemove(unsigned, ExceptionState&);
116 115
117 protected: 116 protected:
118 HTMLSelectElement(Document&, HTMLFormElement*, bool createdByParser); 117 HTMLSelectElement(Document&, HTMLFormElement*, bool createdByParser);
119 118
120 private: 119 private:
121 virtual const AtomicString& formControlType() const OVERRIDE; 120 virtual const AtomicString& formControlType() const OVERRIDE;
122 121
123 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; 122 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE;
124 123
125 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection) OVERRIDE; 124 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusDirection) OVERRIDE;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool m_activeSelectionState; 207 bool m_activeSelectionState;
209 mutable bool m_shouldRecalcListItems; 208 mutable bool m_shouldRecalcListItems;
210 bool m_isParsingInProgress; 209 bool m_isParsingInProgress;
211 }; 210 };
212 211
213 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag)); 212 DEFINE_NODE_TYPE_CASTS(HTMLSelectElement, hasTagName(HTMLNames::selectTag));
214 213
215 } // namespace 214 } // namespace
216 215
217 #endif 216 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOptionsCollection.idl ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698