| 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 e1340e28788fdb9e9865eb1eb867808bbfe2a2f4..0556bc29f95e32487eda4ce891c6443840315bb9 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -1888,6 +1888,9 @@ class CssKeyframesRule extends CssRule native "*WebKitCSSKeyframesRule" {
|
|
|
| @DocsEditable
|
| @DomName('WebKitCSSMatrix')
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@SupportedBrowser(SupportedBrowser.SAFARI)
|
| +@Experimental
|
| class CssMatrix native "*WebKitCSSMatrix" {
|
|
|
| @DocsEditable
|
| @@ -1904,6 +1907,9 @@ class CssMatrix native "*WebKitCSSMatrix" {
|
| return JS('CssMatrix', 'new WebKitCSSMatrix(#)', cssValue);
|
| }
|
|
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => JS('bool', '!!(window.WebKitCSSMatrix)');
|
| +
|
| @DomName('WebKitCSSMatrix.a')
|
| @DocsEditable
|
| num a;
|
| @@ -7407,6 +7413,33 @@ class DomPluginArray implements JavaScriptIndexingBehavior, List<DomPlugin> nati
|
|
|
|
|
| @DocsEditable
|
| +@DomName('WebKitPoint')
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@SupportedBrowser(SupportedBrowser.SAFARI)
|
| +@Experimental
|
| +class DomPoint native "*WebKitPoint" {
|
| +
|
| + @DocsEditable
|
| + factory DomPoint(num x, num y) => DomPoint._create(x, y);
|
| + static DomPoint _create(num x, num y) => JS('DomPoint', 'new WebKitPoint(#,#)', x, y);
|
| +
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => JS('bool', '!!(window.WebKitPoint)');
|
| +
|
| + @DomName('WebKitPoint.x')
|
| + @DocsEditable
|
| + num x;
|
| +
|
| + @DomName('WebKitPoint.y')
|
| + @DocsEditable
|
| + num y;
|
| +}
|
| +// 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.
|
| +
|
| +
|
| +@DocsEditable
|
| @DomName('Selection')
|
| class DomSelection native "*Selection" {
|
|
|
| @@ -18238,27 +18271,6 @@ class PerformanceTiming native "*PerformanceTiming" {
|
|
|
|
|
| @DocsEditable
|
| -@DomName('WebKitPoint')
|
| -class Point native "*WebKitPoint" {
|
| -
|
| - @DocsEditable
|
| - factory Point(num x, num y) => Point._create(x, y);
|
| - static Point _create(num x, num y) => JS('Point', 'new WebKitPoint(#,#)', x, y);
|
| -
|
| - @DomName('WebKitPoint.x')
|
| - @DocsEditable
|
| - num x;
|
| -
|
| - @DomName('WebKitPoint.y')
|
| - @DocsEditable
|
| - num y;
|
| -}
|
| -// 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.
|
| -
|
| -
|
| -@DocsEditable
|
| @DomName('PopStateEvent')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| @@ -26105,13 +26117,15 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
|
| @DocsEditable
|
| void stop() native;
|
|
|
| + @JSName('webkitConvertPointFromNodeToPage')
|
| @DomName('DOMWindow.webkitConvertPointFromNodeToPage')
|
| @DocsEditable
|
| - Point webkitConvertPointFromNodeToPage(Node node, Point p) native;
|
| + DomPoint convertPointFromNodeToPage(Node node, DomPoint p) native;
|
|
|
| + @JSName('webkitConvertPointFromPageToNode')
|
| @DomName('DOMWindow.webkitConvertPointFromPageToNode')
|
| @DocsEditable
|
| - Point webkitConvertPointFromPageToNode(Node node, Point p) native;
|
| + DomPoint convertPointFromPageToNode(Node node, DomPoint p) native;
|
|
|
| @JSName('webkitRequestFileSystem')
|
| @DomName('DOMWindow.webkitRequestFileSystem')
|
|
|