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

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

Issue 12049097: Adding supported checks for CssMatrix and Point. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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') | tests/html/css_test.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 f44afd146552ce267ea00d3b632645a75c37de58..cb2c6862c0e5ca03f2e8a3498ed2b81cb5baa1c4 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -2376,6 +2376,9 @@ class CssKeyframesRule extends CssRule {
@DocsEditable
@DomName('WebKitCSSMatrix')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@SupportedBrowser(SupportedBrowser.SAFARI)
+@Experimental
class CssMatrix extends NativeFieldWrapperClass1 {
CssMatrix.internal();
@@ -2388,6 +2391,9 @@ class CssMatrix extends NativeFieldWrapperClass1 {
}
static CssMatrix _create([String cssValue]) native "WebKitCSSMatrix_constructor_Callback";
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => true;
+
@DomName('WebKitCSSMatrix.a')
@DocsEditable
num get a native "WebKitCSSMatrix_a_Getter";
@@ -8151,6 +8157,45 @@ class DomPluginArray extends NativeFieldWrapperClass1 implements List<DomPlugin>
@DocsEditable
+@DomName('WebKitPoint')
+@SupportedBrowser(SupportedBrowser.CHROME)
+@SupportedBrowser(SupportedBrowser.SAFARI)
+@Experimental
+class DomPoint extends NativeFieldWrapperClass1 {
+ DomPoint.internal();
+
+ @DocsEditable
+ factory DomPoint(num x, num y) => DomPoint._create(x, y);
+ static DomPoint _create(num x, num y) native "WebKitPoint_constructor_Callback";
+
+ /// Checks if this type is supported on the current platform.
+ static bool get supported => true;
+
+ @DomName('WebKitPoint.x')
+ @DocsEditable
+ num get x native "WebKitPoint_x_Getter";
+
+ @DomName('WebKitPoint.x')
+ @DocsEditable
+ void set x(num value) native "WebKitPoint_x_Setter";
+
+ @DomName('WebKitPoint.y')
+ @DocsEditable
+ num get y native "WebKitPoint_y_Getter";
+
+ @DomName('WebKitPoint.y')
+ @DocsEditable
+ void set y(num value) native "WebKitPoint_y_Setter";
+
+}
+// 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.
+
+// WARNING: Do not edit - generated code.
+
+
+@DocsEditable
@DomName('Selection')
class DomSelection extends NativeFieldWrapperClass1 {
DomSelection.internal();
@@ -19938,39 +19983,6 @@ class PerformanceTiming extends NativeFieldWrapperClass1 {
@DocsEditable
-@DomName('WebKitPoint')
-class Point extends NativeFieldWrapperClass1 {
- Point.internal();
-
- @DocsEditable
- factory Point(num x, num y) => Point._create(x, y);
- static Point _create(num x, num y) native "WebKitPoint_constructor_Callback";
-
- @DomName('WebKitPoint.x')
- @DocsEditable
- num get x native "WebKitPoint_x_Getter";
-
- @DomName('WebKitPoint.x')
- @DocsEditable
- void set x(num value) native "WebKitPoint_x_Setter";
-
- @DomName('WebKitPoint.y')
- @DocsEditable
- num get y native "WebKitPoint_y_Getter";
-
- @DomName('WebKitPoint.y')
- @DocsEditable
- void set y(num value) native "WebKitPoint_y_Setter";
-
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-
-@DocsEditable
@DomName('PopStateEvent')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@@ -28413,11 +28425,11 @@ class Window extends EventTarget implements WindowBase {
@DomName('DOMWindow.webkitConvertPointFromNodeToPage')
@DocsEditable
- Point webkitConvertPointFromNodeToPage(Node node, Point p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
+ DomPoint convertPointFromNodeToPage(Node node, DomPoint p) native "DOMWindow_webkitConvertPointFromNodeToPage_Callback";
@DomName('DOMWindow.webkitConvertPointFromPageToNode')
@DocsEditable
- Point webkitConvertPointFromPageToNode(Node node, Point p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
+ DomPoint convertPointFromPageToNode(Node node, DomPoint p) native "DOMWindow_webkitConvertPointFromPageToNode_Callback";
@DomName('DOMWindow.webkitRequestAnimationFrame')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/css_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698