Index: core/dom/DocumentFullscreen.idl |
diff --git a/modules/quota/NavigatorStorageQuota.idl b/core/dom/DocumentFullscreen.idl |
similarity index 52% |
copy from modules/quota/NavigatorStorageQuota.idl |
copy to core/dom/DocumentFullscreen.idl |
index 43869b03c3342e8f2a17052fd5b0f6477d30a03b..854492e4b98cee4ec32dfedf130b865783ccffc3 100644 |
--- a/modules/quota/NavigatorStorageQuota.idl |
+++ b/core/dom/DocumentFullscreen.idl |
@@ -1,4 +1,6 @@ |
/* |
+ * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
+ * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
* Copyright (C) 2013 Google Inc. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
@@ -16,8 +18,15 @@ |
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
* Boston, MA 02110-1301, USA. |
*/ |
+partial interface Document { |
+ // Mozilla version |
+ [EnabledAtRuntime=fullscreen] readonly attribute boolean webkitIsFullScreen; |
+ [EnabledAtRuntime=fullscreen] readonly attribute boolean webkitFullScreenKeyboardInputAllowed; |
+ [EnabledAtRuntime=fullscreen] readonly attribute Element webkitCurrentFullScreenElement; |
+ [EnabledAtRuntime=fullscreen] void webkitCancelFullScreen(); |
-partial interface Navigator { |
- readonly attribute StorageQuota webkitTemporaryStorage; |
- readonly attribute StorageQuota webkitPersistentStorage; |
+ // W3C version |
+ [EnabledAtRuntime=fullscreen] readonly attribute boolean webkitFullscreenEnabled; |
+ [EnabledAtRuntime=fullscreen] readonly attribute Element webkitFullscreenElement; |
+ [EnabledAtRuntime=fullscreen] void webkitExitFullscreen(); |
}; |