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

Unified Diff: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
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/html/dart2js/html_dart2js.dart ('k') | tests/html/element_constructor_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index df052f5ef35d574c69770984116cb7e223cccd71..6244748a27f1b926f5ebb53be92f446a5b930909 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -10627,8 +10627,6 @@ class _HTMLSelectElementImpl extends _HTMLElementImpl implements SelectElement {
bool get willValidate() native "HTMLSelectElement_willValidate_Getter";
- void add(Element element, Element before) native "HTMLSelectElement_add_Callback";
-
bool checkValidity() native "HTMLSelectElement_checkValidity_Callback";
Node item(int index) native "HTMLSelectElement_item_Callback";
@@ -21354,6 +21352,11 @@ class _Elements {
return _e;
}
+ factory SelectElement() {
+ _HTMLSelectElementImpl _e = _document.$dom_createElement("select");
+ return _e;
+ }
+
factory SourceElement() {
_HTMLSourceElementImpl _e = _document.$dom_createElement("source");
return _e;
@@ -36020,7 +36023,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;
@@ -36073,9 +36078,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/html/dart2js/html_dart2js.dart ('k') | tests/html/element_constructor_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698