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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 16638013: Adding annotations for native types of type Object or dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 9c9645af31d2d4642b031e922f513f4322cd52c4..fab888ef7f64765e7da3416c75b87dd215a6af43 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -6018,6 +6018,7 @@ class CustomEvent extends Event native "CustomEvent" {
@DomName('CustomEvent.detail')
@DocsEditable
+ @Creates('Null')
final Object detail;
@JSName('initCustomEvent')
@@ -10285,6 +10286,7 @@ class File extends Blob native "File" {
@JSName('lastModifiedDate')
@DomName('File.lastModifiedDate')
@DocsEditable
+ @Creates('Null')
final dynamic _get_lastModifiedDate;
@DomName('File.name')
@@ -10854,6 +10856,7 @@ class FocusEvent extends UIEvent native "FocusEvent" {
@JSName('relatedTarget')
@DomName('FocusEvent.relatedTarget')
@DocsEditable
+ @Creates('Null')
final dynamic _get_relatedTarget;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -12810,6 +12813,7 @@ class InputElement extends Element implements
@JSName('valueAsDate')
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable
+ @Creates('Null')
final dynamic _get_valueAsDate;
void set valueAsDate(DateTime value) {
@@ -13836,11 +13840,6 @@ class Location implements LocationBase native "Location" {
@DocsEditable
String toString() native;
- @DomName('Location.valueOf')
- @DocsEditable
- @Experimental // nonstandard
- Object valueOf() native;
-
@DomName('Location.origin')
String get origin {
@@ -15270,6 +15269,7 @@ class Metadata native "Metadata" {
@JSName('modificationTime')
@DomName('Metadata.modificationTime')
@DocsEditable
+ @Creates('Null')
final dynamic _get_modificationTime;
@DomName('Metadata.size')
@@ -19049,6 +19049,7 @@ class RtcStatsReport native "RTCStatsReport" {
@JSName('timestamp')
@DomName('RTCStatsReport.timestamp')
@DocsEditable
+ @Creates('Null')
final dynamic _get_timestamp;
@DomName('RTCStatsReport.type')
@@ -22090,6 +22091,7 @@ class TrackEvent extends Event native "TrackEvent" {
@DomName('TrackEvent.track')
@DocsEditable
+ @Creates('Null')
final Object track;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -23637,6 +23639,7 @@ class Window extends EventTarget implements WindowBase native "Window,DOMWindow"
@DomName('Window.showModalDialog')
@DocsEditable
+ @Creates('Null')
Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) native;
@DomName('Window.stop')
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/web_audio/dart2js/web_audio_dart2js.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698