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

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

Issue 409053002: Use @Native annotation on dart2js DOM native classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
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 89febfd75e9993a0881c08f9d17490e4bf329d0f..6f1430344e6dff9390313655005de9f4749b478f 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -1277,7 +1277,6 @@ class Blob extends NativeFieldWrapperClass2 {
Blob slice([int start, int end, String contentType]) => _blink.BlinkBlob.$slice(this, start, end, contentType);
}
-
// Copyright (c) 2012, 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.
@@ -2519,7 +2518,6 @@ class CanvasRenderingContext2D extends CanvasRenderingContext {
@deprecated
double get backingStorePixelRatio => 1.0;
}
-
// Copyright (c) 2012, 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.
@@ -7447,7 +7445,6 @@ class DirectoryEntry extends Entry {
}
}
-
// Copyright (c) 2012, 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.
@@ -7538,7 +7535,7 @@ class DivElement extends HtmlElement {
* [Target 2: Connect Dart & HTML](http://www.dartlang.org/docs/tutorials/connect-dart-html/).
*/
@DomName('Document')
-class Document extends Node
+class Document extends Node
{
// To suppress missing implicit constructor warnings.
@@ -13799,8 +13796,6 @@ class Geolocation extends NativeFieldWrapperClass2 {
int _watchPosition(_PositionCallback successCallback, [_PositionErrorCallback errorCallback, Object options]) => _blink.BlinkGeolocation.$watchPosition_Callback(this, successCallback, errorCallback, options);
}
-
-
// Copyright (c) 2012, 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.
@@ -16559,8 +16554,7 @@ class InputElement extends HtmlElement implements
SubmitButtonInputElement,
ImageButtonInputElement,
ResetButtonInputElement,
- ButtonInputElement
- {
+ ButtonInputElement {
factory InputElement({String type}) {
var e = document.createElement("input");
@@ -17545,7 +17539,6 @@ abstract class ResetButtonInputElement implements InputElementBase {
abstract class ButtonInputElement implements InputElementBase {
factory ButtonInputElement() => new InputElement(type: 'button');
}
-
// Copyright (c) 2012, 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.
@@ -26013,7 +26006,7 @@ class SpeechSynthesisVoice extends NativeFieldWrapperClass2 {
@DomName('Storage')
@Unstable()
class Storage extends NativeFieldWrapperClass2
- implements Map<String, String> {
+ implements Map<String, String> {
void addAll(Map<String, String> other) {
other.forEach((k, v) { this[k] = v; });
@@ -32303,9 +32296,6 @@ abstract class _MutationEvent extends Event {
factory _MutationEvent._() { throw new UnsupportedError("Not supported"); }
}
-
-
-
// Copyright (c) 2012, 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.

Powered by Google App Engine
This is Rietveld 408576698