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

Side by Side Diff: modules/presentation/PresentationConnection.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://w3c.github.io/presentation-api/#interface-presentationconnection
6
7 enum PresentationConnectionState {
8 "connected",
9 "closed",
10 "terminated"
11 };
12
13 [
14 GarbageCollected,
15 RuntimeEnabled=Presentation
16 ] interface PresentationConnection : EventTarget {
17 readonly attribute DOMString? id;
18 readonly attribute PresentationConnectionState state;
19 [MeasureAs=PresentationConnectionClose] void close();
20 [MeasureAs=PresentationConnectionTerminate] void terminate();
21 [DeprecateAs=PresentationConnectionStateChangeEventListener] attribute Event Handler onstatechange;
22 attribute EventHandler onconnect;
23 attribute EventHandler onclose;
24 attribute EventHandler onterminate;
25
26 // Communication
27 attribute BinaryType binaryType;
28 attribute EventHandler onmessage;
29 [RaisesException, MeasureAs=PresentationConnectionSend] void send(DOMString message);
30 [RaisesException, MeasureAs=PresentationConnectionSend] void send(Blob data) ;
31 [RaisesException, MeasureAs=PresentationConnectionSend] void send(ArrayBuffe r data);
32 [RaisesException, MeasureAs=PresentationConnectionSend] void send(ArrayBuffe rView data);
33 };
OLDNEW
« no previous file with comments | « modules/presentation/PresentationAvailability.idl ('k') | modules/presentation/PresentationConnectionAvailableEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698