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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl

Issue 2463953002: Expose RTCDataChannel and RTCDataChannelEvent (with constructor) (Closed)
Patch Set: Added layout test for constructor and fixed expected output for global-listing Created 4 years, 1 month 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: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl
diff --git a/ash/public/interfaces/ash_window_type.mojom b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl
similarity index 52%
copy from ash/public/interfaces/ash_window_type.mojom
copy to third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl
index 61f2c4d6435fb90668777035bb9cdeeb3fa4c3b7..ac9bef88c3bfaa596dbf1e06df8bdcd58631af82 100644
--- a/ash/public/interfaces/ash_window_type.mojom
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl
@@ -2,12 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module ash.mojom;
+// https://w3c.github.io/webrtc-pc/#idl-def-rtcdatachanneleventinit
-enum AshWindowType {
- SHELF = 0,
- STATUS_AREA,
- COUNT
+dictionary RTCDataChannelEventInit : EventInit {
+ required RTCDataChannel channel;
};
-
-const string kAshWindowType_Property = "ash:window-type";

Powered by Google App Engine
This is Rietveld 408576698