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

Unified Diff: Source/modules/presentation/Presentation.idl

Issue 408663002: Add the Presentation API module and a single event target (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: Source/modules/presentation/Presentation.idl
diff --git a/Source/modules/quota/StorageInfo.idl b/Source/modules/presentation/Presentation.idl
similarity index 91%
copy from Source/modules/quota/StorageInfo.idl
copy to Source/modules/presentation/Presentation.idl
index 112f4a472efd8fb27b9517619d4fe513efa3cca7..70a401485ec68838ad513921d470f2f83359ddea 100644
--- a/Source/modules/quota/StorageInfo.idl
+++ b/Source/modules/presentation/Presentation.idl
@@ -28,11 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://webscreens.github.io/presentation-api/#presentation-interface
+
[
GarbageCollected,
NoInterfaceObject,
- RuntimeEnabled=QuotaPromise
-] interface StorageInfo {
- readonly attribute unsigned long long usage;
- readonly attribute unsigned long long quota;
+] interface Presentation {
+
+ readonly attribute boolean displayAvailable;
Peter Beverloo 2014/07/19 10:16:13 Out of interest, is this really going to be a bool
mark a. foltz 2014/07/21 18:24:58 This isn't part of the CG final report spec. Is t
whywhat 2014/07/23 00:39:26 We must have an event handler since the device ava
whywhat 2014/07/23 00:39:26 Yep.
};
« Source/modules/presentation/Presentation.h ('K') | « Source/modules/presentation/Presentation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698