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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Issue 10919136: Removing SelectElement.add method and adding a constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merging with latest bits.wq Created 8 years, 3 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:
Download patch
« no previous file with comments | « lib/dom/scripts/systemhtml.py ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index 3648b54a2d1fa5401f4f629d2b43a009fd2fd039..eae31d329cea5d0d5b7f901e5385e3668ee640b4 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -14792,8 +14792,6 @@ class _SelectElementImpl extends _ElementImpl implements SelectElement native "*
final bool willValidate;
- void add(_ElementImpl element, _ElementImpl before) native;
-
bool checkValidity() native;
_NodeImpl item(int index) native;
@@ -18325,6 +18323,11 @@ class _Elements {
return _e;
}
+ factory SelectElement() {
+ _SelectElementImpl _e = _document.$dom_createElement("select");
+ return _e;
+ }
+
factory SourceElement() {
_SourceElementImpl _e = _document.$dom_createElement("source");
return _e;
@@ -33228,7 +33231,9 @@ interface ScriptProfileNode {
// WARNING: Do not edit - generated code.
/// @domName HTMLSelectElement
-interface SelectElement extends Element {
+interface SelectElement extends Element default _Elements {
+
+ SelectElement();
/** @domName HTMLSelectElement.autofocus */
bool autofocus;
@@ -33281,9 +33286,6 @@ interface SelectElement extends Element {
/** @domName HTMLSelectElement.willValidate */
final bool willValidate;
- /** @domName HTMLSelectElement.add */
- void add(Element element, Element before);
-
/** @domName HTMLSelectElement.checkValidity */
bool checkValidity();
« no previous file with comments | « lib/dom/scripts/systemhtml.py ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698