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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.idl

Issue 18778002: Inherit EventTarget interface instead of duplicating its code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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
« no previous file with comments | « Source/core/xml/XMLHttpRequestUpload.idl ('k') | Source/modules/filesystem/FileWriter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeySession.idl
diff --git a/Source/modules/encryptedmedia/MediaKeySession.idl b/Source/modules/encryptedmedia/MediaKeySession.idl
index 57b809ec018a7ca19a9b29b64139f2a7df99a0cd..3afc689f8881d3d526838bec43fcdaae266da7e1 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.idl
+++ b/Source/modules/encryptedmedia/MediaKeySession.idl
@@ -25,9 +25,8 @@
[
Conditional=ENCRYPTED_MEDIA_V2,
- EnabledAtRuntime=encryptedMedia,
- EventTarget
-] interface MediaKeySession {
+ EnabledAtRuntime=encryptedMedia
+] interface MediaKeySession : EventTarget {
// error state
readonly attribute MediaKeyError error;
@@ -43,13 +42,4 @@
[EnabledAtRuntime=encryptedMedia] attribute EventListener onwebkitkeyadded;
[EnabledAtRuntime=encryptedMedia] attribute EventListener onwebkitkeyerror;
[EnabledAtRuntime=encryptedMedia] attribute EventListener onwebkitkeymessage;
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
};
« no previous file with comments | « Source/core/xml/XMLHttpRequestUpload.idl ('k') | Source/modules/filesystem/FileWriter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698