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

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: 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..b9ee169367a412c4f230d2fbc1a484391f2bb82e
--- /dev/null
+++ b/Source/modules/presentation/AvailableChangeEvent.idl
@@ -0,0 +1,13 @@
+// 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.
+
+// http://w3c.github.io/presentation-api/#availablechangeevent
+
+[
+ Constructor(DOMString type, optional AvailableChangeEventInit eventInitDict),
+ RuntimeEnabled=Presentation
+]
Peter Beverloo 2015/01/07 14:29:08 nit: "] interface" on the same line.
whywhat 2015/01/07 16:22:16 Done.
+interface AvailableChangeEvent : Event {
+ readonly attribute boolean available;
Peter Beverloo 2015/01/07 14:29:08 nit: indent.
whywhat 2015/01/07 16:22:15 Done.
+};

Powered by Google App Engine
This is Rietveld 408576698