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

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationConnection.idl

Issue 1484463003: Drop [LegacyInterfaceTypeChecking] for the Presentation API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/Presentation.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/presentation-api/#interface-presentationconnection 5 // https://w3c.github.io/presentation-api/#interface-presentationconnection
6 6
7 enum PresentationConnectionState { 7 enum PresentationConnectionState {
8 "connected", 8 "connected",
9 "closed", 9 "closed",
10 "terminated" 10 "terminated"
11 }; 11 };
12 12
13 [ 13 [
14 GarbageCollected, 14 GarbageCollected,
15 RuntimeEnabled=Presentation 15 RuntimeEnabled=Presentation
16 ] interface PresentationConnection : EventTarget { 16 ] interface PresentationConnection : EventTarget {
17 readonly attribute DOMString? id; 17 readonly attribute DOMString? id;
18 readonly attribute PresentationConnectionState state; 18 readonly attribute PresentationConnectionState state;
19 [MeasureAs=PresentationConnectionClose] void close(); 19 [MeasureAs=PresentationConnectionClose] void close();
20 [MeasureAs=PresentationConnectionTerminate] void terminate(); 20 [MeasureAs=PresentationConnectionTerminate] void terminate();
21 attribute EventHandler onstatechange; 21 attribute EventHandler onstatechange;
22 22
23 // Communication 23 // Communication
24 attribute BinaryType binaryType; 24 attribute BinaryType binaryType;
25 attribute EventHandler onmessage; 25 attribute EventHandler onmessage;
26 [RaisesException, MeasureAs=PresentationConnectionSend] void send(DOMString message); 26 [RaisesException, MeasureAs=PresentationConnectionSend] void send(DOMString message);
27 [RaisesException, MeasureAs=PresentationConnectionSend, LegacyInterfaceTypeC hecking] void send(Blob data); 27 [RaisesException, MeasureAs=PresentationConnectionSend] void send(Blob data) ;
28 [RaisesException, MeasureAs=PresentationConnectionSend, LegacyInterfaceTypeC hecking] void send(ArrayBuffer data); 28 [RaisesException, MeasureAs=PresentationConnectionSend] void send(ArrayBuffe r data);
29 [RaisesException, MeasureAs=PresentationConnectionSend, LegacyInterfaceTypeC hecking] void send(ArrayBufferView data); 29 [RaisesException, MeasureAs=PresentationConnectionSend] void send(ArrayBuffe rView data);
30 }; 30 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/Presentation.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698