| Index: third_party/WebCore/html/MediaKeyEvent.idl
|
| diff --git a/third_party/WebCore/html/MediaError.idl b/third_party/WebCore/html/MediaKeyEvent.idl
|
| similarity index 63%
|
| copy from third_party/WebCore/html/MediaError.idl
|
| copy to third_party/WebCore/html/MediaKeyEvent.idl
|
| index fceb1f551ee5e3027c62f2a5a4802c007706d85c..b1387dcfc47007ad75e82fdfc83a9d7bebe73657 100644
|
| --- a/third_party/WebCore/html/MediaError.idl
|
| +++ b/third_party/WebCore/html/MediaKeyEvent.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2007 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
|
| @@ -24,13 +24,19 @@
|
| */
|
|
|
| module html {
|
| +
|
| interface [
|
| - Conditional=VIDEO
|
| - ] MediaError {
|
| - const unsigned short MEDIA_ERR_ABORTED = 1;
|
| - const unsigned short MEDIA_ERR_NETWORK = 2;
|
| - const unsigned short MEDIA_ERR_DECODE = 3;
|
| - const unsigned short MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
|
| - readonly attribute unsigned short code;
|
| + Conditional=ENCRYPTED_MEDIA,
|
| + V8EnabledAtRuntime=encryptedMedia,
|
| + ConstructorTemplate=Event
|
| + ] MediaKeyEvent : Event {
|
| + readonly attribute [InitializedByEventConstructor] DOMString keySystem;
|
| + readonly attribute [InitializedByEventConstructor] DOMString sessionId;
|
| + readonly attribute [InitializedByEventConstructor] Uint8Array initData;
|
| + readonly attribute [InitializedByEventConstructor] Uint8Array message;
|
| + readonly attribute [InitializedByEventConstructor] DOMString defaultURL;
|
| + readonly attribute [InitializedByEventConstructor] MediaKeyError errorCode;
|
| + readonly attribute [InitializedByEventConstructor] unsigned short systemCode;
|
| };
|
| +
|
| }
|
|
|