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

Unified Diff: modules/presentation/PresentationConnectionCloseEvent.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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: modules/presentation/PresentationConnectionCloseEvent.idl
diff --git a/modules/presentation/PresentationConnectionCloseEvent.idl b/modules/presentation/PresentationConnectionCloseEvent.idl
new file mode 100644
index 0000000000000000000000000000000000000000..88f004bbb3ba226bfb63df4ae4c0da006eb7a9be
--- /dev/null
+++ b/modules/presentation/PresentationConnectionCloseEvent.idl
@@ -0,0 +1,15 @@
+// Copyright 2016 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/#interface-presentationconnectioncloseevent
+
+enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
+
+[
+ Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict),
+ RuntimeEnabled=Presentation
+] interface PresentationConnectionCloseEvent : Event {
+ readonly attribute PresentationConnectionCloseReason reason;
+ readonly attribute DOMString message;
+};

Powered by Google App Engine
This is Rietveld 408576698