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

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

Issue 915343002: Removing unused hasValidImageBuffer and activeSelectionStartListIndex (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void scrollToSelection(); 103 void scrollToSelection();
104 void scrollToIndex(int listIndex); 104 void scrollToIndex(int listIndex);
105 105
106 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi ft, bool fireOnChangeNow = true); 106 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi ft, bool fireOnChangeNow = true);
107 107
108 bool canSelectAll() const; 108 bool canSelectAll() const;
109 void selectAll(); 109 void selectAll();
110 int listToOptionIndex(int listIndex) const; 110 int listToOptionIndex(int listIndex) const;
111 void listBoxOnChange(); 111 void listBoxOnChange();
112 int optionToListIndex(int optionIndex) const; 112 int optionToListIndex(int optionIndex) const;
113 int activeSelectionStartListIndex() const;
114 int activeSelectionEndListIndex() const; 113 int activeSelectionEndListIndex() const;
115 void setActiveSelectionAnchorIndex(int); 114 void setActiveSelectionAnchorIndex(int);
116 void setActiveSelectionEndIndex(int); 115 void setActiveSelectionEndIndex(int);
117 116
118 // For use in the implementation of HTMLOptionElement. 117 // For use in the implementation of HTMLOptionElement.
119 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); 118 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
120 void optionInserted(const HTMLOptionElement&, bool optionIsSelected); 119 void optionInserted(const HTMLOptionElement&, bool optionIsSelected);
121 void optionRemoved(const HTMLOptionElement&); 120 void optionRemoved(const HTMLOptionElement&);
122 bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionEleme nt>, ExceptionState&); 121 bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionEleme nt>, ExceptionState&);
123 122
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool m_multiple; 228 bool m_multiple;
230 bool m_activeSelectionState; 229 bool m_activeSelectionState;
231 mutable bool m_shouldRecalcListItems; 230 mutable bool m_shouldRecalcListItems;
232 int m_suggestedIndex; 231 int m_suggestedIndex;
233 bool m_isAutofilledByPreview; 232 bool m_isAutofilledByPreview;
234 }; 233 };
235 234
236 } // namespace blink 235 } // namespace blink
237 236
238 #endif // HTMLSelectElement_h 237 #endif // HTMLSelectElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698