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

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

Issue 410823002: Revert "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
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dart2js/indexed_db_dart2js.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 6f1430344e6dff9390313655005de9f4749b478f..89febfd75e9993a0881c08f9d17490e4bf329d0f 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -1277,6 +1277,7 @@ 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.
@@ -2518,6 +2519,7 @@ 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.
@@ -7445,6 +7447,7 @@ 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.
@@ -7535,7 +7538,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.
@@ -13796,6 +13799,8 @@ 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.
@@ -16554,7 +16559,8 @@ class InputElement extends HtmlElement implements
SubmitButtonInputElement,
ImageButtonInputElement,
ResetButtonInputElement,
- ButtonInputElement {
+ ButtonInputElement
+ {
factory InputElement({String type}) {
var e = document.createElement("input");
@@ -17539,6 +17545,7 @@ 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.
@@ -26006,7 +26013,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; });
@@ -32296,6 +32303,9 @@ 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.
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698