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

Unified Diff: Source/core/html/HTMLSelectElement.h

Issue 213773003: select.add() should support optgroup adding and before index (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLSelectElement.h
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h
index 8268cc15a8c3508e851f1278dbdbc0c98d14753c..e5dd1ed32aa204f6a3d5bb5801b15d86046d44db 100644
--- a/Source/core/html/HTMLSelectElement.h
+++ b/Source/core/html/HTMLSelectElement.h
@@ -63,6 +63,7 @@ public:
bool usesMenuList() const;
void add(HTMLElement*, HTMLElement* beforeElement, ExceptionState&);
+ void addBeforeOptionAtIndex(HTMLElement*, unsigned beforeIndex, ExceptionState&);
tkent 2014/03/27 01:18:53 Is ImplementedAs necessary? Doesn't an overload a
keishi 2014/03/27 06:06:53 I tried that and the compiler said it doesn't know
using Node::remove;
void remove(int index);

Powered by Google App Engine
This is Rietveld 408576698