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

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 12386059: Updating annotations for shadow dom types. (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') | tools/dom/scripts/generator.py » ('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 515811b5f5dc66bde3f75774cf9c8ee1f1e575e0..1a41acf812c9e6ecaf9a15f6aeff8dbe357dfad1 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2138,7 +2138,7 @@ class Console extends NativeFieldWrapperClass1 {
@DocsEditable
@DomName('HTMLContentElement')
-@SupportedBrowser(SupportedBrowser.CHROME, '25')
+@SupportedBrowser(SupportedBrowser.CHROME, '26')
@Experimental
class ContentElement extends _Element_Merged {
ContentElement.internal() : super.internal();
@@ -2307,6 +2307,8 @@ class CssFontFaceRule extends CssRule {
@DocsEditable
@DomName('CSSHostRule')
+@SupportedBrowser(SupportedBrowser.CHROME, '26')
+@Experimental
class CssHostRule extends CssRule {
CssHostRule.internal() : super.internal();
@@ -6605,7 +6607,7 @@ class DataView extends ArrayBufferView {
@DomName('DataView.getInt8')
@DocsEditable
- Object getInt8({int byteOffset}) native "DataView_getInt8_Callback";
+ int getInt8(int byteOffset) native "DataView_getInt8_Callback";
int getUint16(int byteOffset, {bool littleEndian}) {
if (?littleEndian) {
@@ -6639,7 +6641,7 @@ class DataView extends ArrayBufferView {
@DomName('DataView.getUint8')
@DocsEditable
- Object getUint8({int byteOffset}) native "DataView_getUint8_Callback";
+ int getUint8(int byteOffset) native "DataView_getUint8_Callback";
void setFloat32(int byteOffset, num value, {bool littleEndian}) {
if (?littleEndian) {
@@ -21526,7 +21528,7 @@ class SelectElement extends _Element_Merged {
@DocsEditable
@DomName('HTMLShadowElement')
-@SupportedBrowser(SupportedBrowser.CHROME, '25')
+@SupportedBrowser(SupportedBrowser.CHROME, '26')
@Experimental
class ShadowElement extends _Element_Merged {
ShadowElement.internal() : super.internal();
@@ -21555,7 +21557,7 @@ class ShadowElement extends _Element_Merged {
@DomName('ShadowRoot')
-@SupportedBrowser(SupportedBrowser.CHROME, '25')
+@SupportedBrowser(SupportedBrowser.CHROME, '26')
@Experimental
class ShadowRoot extends DocumentFragment {
ShadowRoot.internal() : super.internal();
@@ -34538,6 +34540,11 @@ class TestRunner {
class _Utils {
+ static double dateTimeToDouble(DateTime dateTime) =>
Emily Fortuna 2013/03/04 18:05:33 this added code seems suspicious...
blois 2013/03/04 22:14:31 Sync'd to tip of tree and it's gone. I imagine go.
+ dateTime.millisecondsSinceEpoch.toDouble();
+ static DateTime doubleToDateTime(double dateTime) =>
+ new DateTime.fromMillisecondsSinceEpoch(dateTime.toInt());
+
static List convertToList(List list) {
// FIXME: [possible optimization]: do not copy the array if Dart_IsArray is fine w/ it.
final length = list.length;
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698