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

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

Issue 589253002: Revert "Chrome 38 script changes from integration branch" (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
Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
index 3d9e6afb5cedefa436b006eb0483131cdaea4545..70f50ce136bddff75b923a95ffd3059a8a8a0eee 100644
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
@@ -126,6 +126,14 @@ $endif
_webkitExitFullscreen();
}
+ @DomName('Document.webkitExitPointerLock')
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental()
+ void exitPointerLock() {
+ _webkitExitPointerLock();
+ }
+
/**
* Returns the element, if any, that is currently displayed in fullscreen.
*
@@ -175,6 +183,13 @@ $endif
@Experimental()
bool get hidden => _webkitHidden;
+ @DomName('Document.webkitPointerLockElement')
+ @SupportedBrowser(SupportedBrowser.CHROME)
+ @SupportedBrowser(SupportedBrowser.SAFARI)
+ @Experimental()
+ Element get pointerLockElement =>
+ _webkitPointerLockElement;
+
@DomName('Document.visibilityState')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)

Powered by Google App Engine
This is Rietveld 408576698