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

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

Issue 782793002: Update Element API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 6 years 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/HTMLBodyElement.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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 void setSize(int); 95 void setSize(int);
96 96
97 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); 97 void setOption(unsigned index, HTMLOptionElement*, ExceptionState&);
98 void setLength(unsigned, ExceptionState&); 98 void setLength(unsigned, ExceptionState&);
99 99
100 Element* namedItem(const AtomicString& name); 100 Element* namedItem(const AtomicString& name);
101 HTMLOptionElement* item(unsigned index); 101 HTMLOptionElement* item(unsigned index);
102 102
103 void scrollToSelection(); 103 void scrollToSelection();
104 void scrollTo(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; 113 int activeSelectionStartListIndex() const;
114 int activeSelectionEndListIndex() const; 114 int activeSelectionEndListIndex() const;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bool m_multiple; 227 bool m_multiple;
228 bool m_activeSelectionState; 228 bool m_activeSelectionState;
229 mutable bool m_shouldRecalcListItems; 229 mutable bool m_shouldRecalcListItems;
230 int m_suggestedIndex; 230 int m_suggestedIndex;
231 bool m_isAutofilledByPreview; 231 bool m_isAutofilledByPreview;
232 }; 232 };
233 233
234 } // namespace blink 234 } // namespace blink
235 235
236 #endif // HTMLSelectElement_h 236 #endif // HTMLSelectElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLBodyElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698