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

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
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f179a1607536fce4ad3f235eacd35b98287843ec..a00a4122bcc4f361ca4ef6353fa0e1ed37305ec6 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -6019,6 +6019,7 @@ class CustomEvent extends Event native "CustomEvent" {
@DomName('CustomEvent.detail')
@DocsEditable
+ @Creates('Null')
final Object detail;
@JSName('initCustomEvent')
@@ -10286,6 +10287,7 @@ class File extends Blob native "File" {
@JSName('lastModifiedDate')
@DomName('File.lastModifiedDate')
@DocsEditable
+ @Creates('Null')
final dynamic _get_lastModifiedDate;
@DomName('File.name')
@@ -10855,6 +10857,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
@@ -12811,6 +12814,7 @@ class InputElement extends Element implements
@JSName('valueAsDate')
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable
+ @Creates('Null')
final dynamic _get_valueAsDate;
void set valueAsDate(DateTime value) {
@@ -13837,11 +13841,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 {
@@ -15271,6 +15270,7 @@ class Metadata native "Metadata" {
@JSName('modificationTime')
@DomName('Metadata.modificationTime')
@DocsEditable
+ @Creates('Null')
final dynamic _get_modificationTime;
@DomName('Metadata.size')
@@ -19050,6 +19050,7 @@ class RtcStatsReport native "RTCStatsReport" {
@JSName('timestamp')
@DomName('RTCStatsReport.timestamp')
@DocsEditable
+ @Creates('Null')
final dynamic _get_timestamp;
@DomName('RTCStatsReport.type')
@@ -22091,6 +22092,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
@@ -23638,6 +23640,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698