| Index: third_party/WebCore/Modules/encryptedmedia/MediaKeys.idl
|
| diff --git a/third_party/WebCore/Modules/speech/SpeechSynthesis.idl b/third_party/WebCore/Modules/encryptedmedia/MediaKeys.idl
|
| similarity index 73%
|
| copy from third_party/WebCore/Modules/speech/SpeechSynthesis.idl
|
| copy to third_party/WebCore/Modules/encryptedmedia/MediaKeys.idl
|
| index a125b95f2790cabfb50048f0ae312cb7c8748d42..773501a7c162da6f1ba82c7b0799bcabc03e9a8e 100644
|
| --- a/third_party/WebCore/Modules/speech/SpeechSynthesis.idl
|
| +++ b/third_party/WebCore/Modules/encryptedmedia/MediaKeys.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2013 Apple Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -23,16 +23,14 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -[
|
| - Conditional=SPEECH_SYNTHESIS
|
| -] interface SpeechSynthesis {
|
| - readonly attribute boolean pending;
|
| - readonly attribute boolean speaking;
|
| - readonly attribute boolean paused;
|
| +interface [
|
| + Conditional=ENCRYPTED_MEDIA_V2,
|
| + V8EnabledAtRuntime=encryptedMedia,
|
| + Constructor(in DOMString keySystem),
|
| + ConstructorRaisesException,
|
| +] MediaKeys {
|
| + [CallWith=ScriptExecutionContext] MediaKeySession createSession(in [Optional=DefaultIsUndefined] DOMString type, in [Optional=DefaultIsUndefined] Uint8Array initData)
|
| + raises(DOMException);
|
|
|
| - void speak(SpeechSynthesisUtterance utterance);
|
| - void cancel();
|
| - void pause();
|
| - void resume();
|
| - sequence<SpeechSynthesisVoice> getVoices();
|
| + readonly attribute DOMString keySystem;
|
| };
|
|
|