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) |