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

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

Issue 189543012: Update <select> when any of its <option> children has "display: none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Test Expectations Created 6 years, 8 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/HTMLOptionElement.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int activeSelectionStartListIndex() const; 109 int activeSelectionStartListIndex() const;
110 int activeSelectionEndListIndex() const; 110 int activeSelectionEndListIndex() const;
111 void setActiveSelectionAnchorIndex(int); 111 void setActiveSelectionAnchorIndex(int);
112 void setActiveSelectionEndIndex(int); 112 void setActiveSelectionEndIndex(int);
113 void updateListBoxSelection(bool deselectOtherOptions); 113 void updateListBoxSelection(bool deselectOtherOptions);
114 114
115 // For use in the implementation of HTMLOptionElement. 115 // For use in the implementation of HTMLOptionElement.
116 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected); 116 void optionSelectionStateChanged(HTMLOptionElement*, bool optionIsSelected);
117 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti onState&); 117 bool anonymousIndexedSetter(unsigned, PassRefPtr<HTMLOptionElement>, Excepti onState&);
118 118
119 void updateListOnRenderer();
119 protected: 120 protected:
120 HTMLSelectElement(Document&, HTMLFormElement*); 121 HTMLSelectElement(Document&, HTMLFormElement*);
121 122
122 private: 123 private:
123 virtual const AtomicString& formControlType() const OVERRIDE; 124 virtual const AtomicString& formControlType() const OVERRIDE;
124 125
125 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; 126 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE;
126 127
127 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR IDE; 128 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR IDE;
128 virtual void dispatchBlurEvent(Element* newFocusedElemnet) OVERRIDE; 129 virtual void dispatchBlurEvent(Element* newFocusedElemnet) OVERRIDE;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool m_isProcessingUserDrivenChange; 209 bool m_isProcessingUserDrivenChange;
209 bool m_multiple; 210 bool m_multiple;
210 bool m_activeSelectionState; 211 bool m_activeSelectionState;
211 mutable bool m_shouldRecalcListItems; 212 mutable bool m_shouldRecalcListItems;
212 int m_suggestedIndex; 213 int m_suggestedIndex;
213 }; 214 };
214 215
215 } // namespace 216 } // namespace
216 217
217 #endif 218 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOptionElement.cpp ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698