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

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

Issue 2075533002: Menulist SELECT element should update layout when an OPTION content is changed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void remove(int index); 79 void remove(int index);
80 80
81 String value() const; 81 String value() const;
82 void setValue(const String&, bool sendEvents = false); 82 void setValue(const String&, bool sendEvents = false);
83 String suggestedValue() const; 83 String suggestedValue() const;
84 void setSuggestedValue(const String&); 84 void setSuggestedValue(const String&);
85 85
86 HTMLOptionsCollection* options(); 86 HTMLOptionsCollection* options();
87 HTMLCollection* selectedOptions(); 87 HTMLCollection* selectedOptions();
88 88
89 void optionElementChildrenChanged(); 89 void optionElementChildrenChanged(const HTMLOptionElement&);
90 90
91 void setRecalcListItems(); 91 void setRecalcListItems();
92 void invalidateSelectedItems(); 92 void invalidateSelectedItems();
93 93
94 using ListItems = HeapVector<Member<HTMLElement>>; 94 using ListItems = HeapVector<Member<HTMLElement>>;
95 const ListItems& listItems() const; 95 const ListItems& listItems() const;
96 96
97 void accessKeyAction(bool sendMouseEvents) override; 97 void accessKeyAction(bool sendMouseEvents) override;
98 void accessKeySetSelectedIndex(int); 98 void accessKeySetSelectedIndex(int);
99 99
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption); 279 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, FirstSelectableOption);
280 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption); 280 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, LastSelectableOption);
281 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption); 281 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, NextSelectableOption);
282 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption); 282 FRIEND_TEST_ALL_PREFIXES(HTMLSelectElementTest, PreviousSelectableOption);
283 }; 283 };
284 284
285 } // namespace blink 285 } // namespace blink
286 286
287 #endif // HTMLSelectElement_h 287 #endif // HTMLSelectElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698