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

Unified Diff: tools/dom/templates/html/impl/impl_Window.darttemplate

Issue 605083004: Merge 38 changes to bleeding edge (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « tools/dom/templates/html/impl/impl_WheelEvent.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Window.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
index 12ad45fc3aa5640b066e430c99d7af69ae925001..6b846f020420176217d48266485e2b3b59bfb01a 100644
--- a/tools/dom/templates/html/impl/impl_Window.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
@@ -217,46 +217,8 @@ $endif
}
/**
- * Converts a point from node coordinates to this window's coordinates.
- *
- * ## Other resources
- *
- * * [webkitConvertPointFromPageToNode]
- * (https://developer.apple.com/library/safari/documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html#//apple_ref/javascript/instm/DOMWindow/webkitConvertPointFromNodeToPage)
- * from Safari Development Library.
- */
- @DomName('Window.convertPointFromNodeToPage')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- Point convertPointFromNodeToPage(Node node, Point point) {
- var result = _convertPointFromNodeToPage(node,
- new _DomPoint(point.x, point.y));
- return new Point(result.x, result.y);
- }
-
- /**
- * Converts a point from this window's coordinates to node coordinates.
- *
- * ## Other resources
- *
- * * [webkitConvertPointFromPageToNode]
- * (https://developer.apple.com/library/safari/documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html#//apple_ref/javascript/instm/DOMWindow/webkitConvertPointFromPageToNode)
- * from Safari Development Library.
- */
- @DomName('Window.convertPointFromPageToNode')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- Point convertPointFromPageToNode(Node node, Point point) {
- var result = _convertPointFromPageToNode(node,
- new _DomPoint(point.x, point.y));
- return new Point(result.x, result.y);
- }
-
- /**
- * Checks whether [convertPointFromNodeToPage] and
- * [convertPointFromPageToNode] are supported on the current platform.
+ * convertPointFromNodeToPage and convertPointFromPageToNode are removed.
+ * see http://dev.w3.org/csswg/cssom-view/#geometry
*/
static bool get supportsPointConversions => _DomPoint.supported;
$!MEMBERS
« no previous file with comments | « tools/dom/templates/html/impl/impl_WheelEvent.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698