| Index: third_party/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| diff --git a/third_party/WebCore/Modules/websockets/WorkerContextWebSocket.idl b/third_party/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| similarity index 79%
|
| copy from third_party/WebCore/Modules/websockets/WorkerContextWebSocket.idl
|
| copy to third_party/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| index 1f8ae5d9e6032ab7239a6830bf6afd7a05e0b05e..d76b091bdbe5dc9de7529ca0d751f5655b373e81 100644
|
| --- a/third_party/WebCore/Modules/websockets/WorkerContextWebSocket.idl
|
| +++ b/third_party/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2008 Apple Inc. All Rights Reserved.
|
| + * Copyright (C) 2012 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -21,13 +21,14 @@
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| - *
|
| */
|
|
|
| -[
|
| - Conditional=WEB_SOCKETS,
|
| - Supplemental=WorkerContext
|
| -] interface WorkerContextWebSocket {
|
| - [JSCustomGetter,V8EnabledAtRuntime] attribute WebSocketConstructor WebSocket; // Usable with the new operator
|
| +interface [
|
| + Conditional=ENCRYPTED_MEDIA_V2,
|
| + V8EnabledAtRuntime=encryptedMedia,
|
| + ConstructorTemplate=Event
|
| +] MediaKeyMessageEvent : Event {
|
| + readonly attribute Uint8Array message;
|
| + readonly attribute [InitializedByEventConstructor] DOMString destinationURL;
|
| };
|
|
|
|
|