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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 12330174: Revert "Revert "Converting dart:html to use DateTime rather than Date."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 4059b2c6cde574f1e65b70d8d34d435694f39560..5bb71d2c2ebab4f9301c85eaad44f9120fcf9f9b 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -6601,7 +6601,7 @@ class DataView extends ArrayBufferView {
@DomName('DataView.getInt8')
@DocsEditable
- int getInt8(int byteOffset) native "DataView_getInt8_Callback";
+ Object getInt8({int byteOffset}) native "DataView_getInt8_Callback";
int getUint16(int byteOffset, {bool littleEndian}) {
if (?littleEndian) {
@@ -6635,7 +6635,7 @@ class DataView extends ArrayBufferView {
@DomName('DataView.getUint8')
@DocsEditable
- int getUint8(int byteOffset) native "DataView_getUint8_Callback";
+ Object getUint8({int byteOffset}) native "DataView_getUint8_Callback";
void setFloat32(int byteOffset, num value, {bool littleEndian}) {
if (?littleEndian) {
@@ -11118,7 +11118,7 @@ class File extends Blob {
@DomName('File.lastModifiedDate')
@DocsEditable
- Date get lastModifiedDate native "File_lastModifiedDate_Getter";
+ DateTime get lastModifiedDate native "File_lastModifiedDate_Getter";
@DomName('File.name')
@DocsEditable
@@ -13258,17 +13258,6 @@ class HtmlDocument extends Document {
document.$dom_body = value;
}
- /**
- * Registers a custom Element subclass as an available HTML tag.
- *
- * Not yet implemented.
- */
- @Experimental
- void register(String tagName, Type elementClass) {
- // TODO: tagName validation
- throw new Exception('Not yet implemented');
- }
-
@DomName('Document.caretRangeFromPoint')
Range caretRangeFromPoint(int x, int y) {
return document.$dom_caretRangeFromPoint(x, y);
@@ -14636,11 +14625,11 @@ class InputElement extends _Element_Merged implements
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable
- Date get valueAsDate native "HTMLInputElement_valueAsDate_Getter";
+ DateTime get valueAsDate native "HTMLInputElement_valueAsDate_Getter";
@DomName('HTMLInputElement.valueAsDate')
@DocsEditable
- void set valueAsDate(Date value) native "HTMLInputElement_valueAsDate_Setter";
+ void set valueAsDate(DateTime value) native "HTMLInputElement_valueAsDate_Setter";
@DomName('HTMLInputElement.valueAsNumber')
@DocsEditable
@@ -17939,7 +17928,7 @@ class Metadata extends NativeFieldWrapperClass1 {
@DomName('Metadata.modificationTime')
@DocsEditable
- Date get modificationTime native "Metadata_modificationTime_Getter";
+ DateTime get modificationTime native "Metadata_modificationTime_Getter";
@DomName('Metadata.size')
@DocsEditable
@@ -21023,7 +21012,7 @@ class RtcStatsElement extends NativeFieldWrapperClass1 {
@DomName('RTCStatsElement.timestamp')
@DocsEditable
- Date get timestamp native "RTCStatsElement_timestamp_Getter";
+ DateTime get timestamp native "RTCStatsElement_timestamp_Getter";
@DomName('RTCStatsElement.names')
@DocsEditable
« 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