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

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

Issue 463633002: Revert "Cleanup deadcode in Rendering" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 4 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 | « no previous file | 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); 96 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&);
97 void setLength(unsigned, ExceptionState&); 97 void setLength(unsigned, ExceptionState&);
98 98
99 Element* namedItem(const AtomicString& name); 99 Element* namedItem(const AtomicString& name);
100 Element* item(unsigned index); 100 Element* item(unsigned index);
101 101
102 void scrollToSelection(); 102 void scrollToSelection();
103 void scrollTo(int listIndex); 103 void scrollTo(int listIndex);
104 104
105 void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shi ft, bool fireOnChangeNow = true);
106
105 bool canSelectAll() const; 107 bool canSelectAll() const;
106 void selectAll(); 108 void selectAll();
107 int listToOptionIndex(int listIndex) const; 109 int listToOptionIndex(int listIndex) const;
108 void listBoxOnChange(); 110 void listBoxOnChange();
109 int optionToListIndex(int optionIndex) const; 111 int optionToListIndex(int optionIndex) const;
110 int activeSelectionStartListIndex() const; 112 int activeSelectionStartListIndex() const;
111 int activeSelectionEndListIndex() const; 113 int activeSelectionEndListIndex() const;
112 void setActiveSelectionAnchorIndex(int); 114 void setActiveSelectionAnchorIndex(int);
113 void setActiveSelectionEndIndex(int); 115 void setActiveSelectionEndIndex(int);
114 void updateListBoxSelection(bool deselectOtherOptions); 116 void updateListBoxSelection(bool deselectOtherOptions);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 bool m_isProcessingUserDrivenChange; 225 bool m_isProcessingUserDrivenChange;
224 bool m_multiple; 226 bool m_multiple;
225 bool m_activeSelectionState; 227 bool m_activeSelectionState;
226 mutable bool m_shouldRecalcListItems; 228 mutable bool m_shouldRecalcListItems;
227 int m_suggestedIndex; 229 int m_suggestedIndex;
228 }; 230 };
229 231
230 } // namespace 232 } // namespace
231 233
232 #endif 234 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698