| Index: third_party/WebCore/html/MediaKeyError.idl
|
| diff --git a/third_party/WebCore/html/MediaError.idl b/third_party/WebCore/html/MediaKeyError.idl
|
| similarity index 71%
|
| copy from third_party/WebCore/html/MediaError.idl
|
| copy to third_party/WebCore/html/MediaKeyError.idl
|
| index fceb1f551ee5e3027c62f2a5a4802c007706d85c..55b9b04d0f7f573e39406e2a111b476aad92b893 100644
|
| --- a/third_party/WebCore/html/MediaError.idl
|
| +++ b/third_party/WebCore/html/MediaKeyError.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
|
| @@ -25,12 +25,15 @@
|
|
|
| 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,
|
| + ] MediaKeyError {
|
| + const unsigned short MEDIA_KEYERR_UNKNOWN = 1;
|
| + const unsigned short MEDIA_KEYERR_CLIENT = 2;
|
| + const unsigned short MEDIA_KEYERR_SERVICE = 3;
|
| + const unsigned short MEDIA_KEYERR_OUTPUT = 4;
|
| + const unsigned short MEDIA_KEYERR_HARDWARECHANGE = 5;
|
| + const unsigned short MEDIA_KEYERR_DOMAIN = 6;
|
| + readonly attribute unsigned short code;
|
| };
|
| }
|
|
|