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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 11196020: Force named arguments in constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/scripts/generator.py » ('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 d1ba9f7a5e95c3e4eeafb32aa599acdbbed132b8..24987e32aeaf27ad8570c2e1b1dfcf8d35a98c74 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -122,7 +122,7 @@ class _AbstractWorkerEventsImpl extends _EventsImpl implements AbstractWorkerEve
/// @domName HTMLAnchorElement
abstract class AnchorElement implements Element {
- factory AnchorElement([String href]) {
+ factory AnchorElement({String href}) {
if (!?href) {
return _Elements.createAnchorElement();
}
@@ -7894,7 +7894,7 @@ class _CSSValueListImpl extends _CSSValueImpl implements List<CSSValue> {
/// @domName HTMLCanvasElement
abstract class CanvasElement implements Element {
- factory CanvasElement([int width, int height]) {
+ factory CanvasElement({int width, int height}) {
if (!?width) {
return _Elements.createCanvasElement();
}
@@ -18381,7 +18381,7 @@ class _ImageDataImpl extends NativeFieldWrapperClass1 implements ImageData {
/// @domName HTMLImageElement
abstract class ImageElement implements Element {
- factory ImageElement([String src, int width, int height]) {
+ factory ImageElement({String src, int width, int height}) {
if (!?src) {
return _Elements.createImageElement();
}
@@ -18535,7 +18535,7 @@ class _ImageElementImpl extends _ElementImpl_Merged implements ImageElement {
/// @domName HTMLInputElement
abstract class InputElement implements Element {
- factory InputElement([String type]) {
+ factory InputElement({String type}) {
if (!?type) {
return _Elements.createInputElement();
}
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | lib/html/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698