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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 25585002: Make OptionElement construtor arguments named optional parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/htmloptionscollection_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4038d9d5389838c76784c3f46ca208aac63c417d..cbf9d239d512dacc5588d1aaf4887e1c09a5328f 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -19913,22 +19913,21 @@ class OptGroupElement extends HtmlElement {
void set label(String value) native "HTMLOptGroupElement_label_Setter";
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
@DomName('HTMLOptionElement')
class OptionElement extends HtmlElement {
- // To suppress missing implicit constructor warnings.
- factory OptionElement._() { throw new UnsupportedError("Not supported"); }
+ factory OptionElement({String data, String value, bool defaultSelected,
+ bool selected}) {
+ return new OptionElement._(data, value, defaultSelected, selected);
+ }
@DomName('HTMLOptionElement.HTMLOptionElement')
@DocsEditable()
- factory OptionElement([String data, String value, bool defaultSelected, bool selected]) {
+ factory OptionElement._([String data, String value, bool defaultSelected, bool selected]) {
return OptionElement._create_1(data, value, defaultSelected, selected);
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/htmloptionscollection_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698