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

Unified Diff: third_party/WebCore/Modules/encryptedmedia/MediaKeys.idl

Issue 12319151: WebKit IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months 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 side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698