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

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

Issue 832263007: Added plumbing for the availablechange event from Blink to WebPresentationClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added onClientDestroyed Created 5 years, 11 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/AvailableChangeEvent.idl
diff --git a/Source/modules/presentation/AvailableChangeEvent.idl b/Source/modules/presentation/AvailableChangeEvent.idl
new file mode 100644
index 0000000000000000000000000000000000000000..48d06999215a25b61c6d9b2741fc739c4cfc0561
--- /dev/null
+++ b/Source/modules/presentation/AvailableChangeEvent.idl
@@ -0,0 +1,12 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://w3c.github.io/presentation-api/#availablechangeevent
+
+[
+ Constructor(DOMString type, optional AvailableChangeEventInit eventInitDict),
+ RuntimeEnabled=Presentation
+] interface AvailableChangeEvent : Event {
+ readonly attribute boolean available;
+};
« no previous file with comments | « Source/modules/presentation/AvailableChangeEvent.cpp ('k') | Source/modules/presentation/AvailableChangeEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698