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

Unified Diff: Source/modules/encryptedmedia/MediaKeys.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/modules/encryptedmedia/MediaKeySession.h ('k') | Source/modules/filesystem/DOMFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeys.h
diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h
index 53acca5a36d02b05eba7106e5857de2787492c6a..d7f669d91f4c269e97c005999e7981e6ced2629c 100644
--- a/Source/modules/encryptedmedia/MediaKeys.h
+++ b/Source/modules/encryptedmedia/MediaKeys.h
@@ -33,19 +33,17 @@
#include "wtf/text/WTFString.h"
namespace blink {
-class WebContentDecryptionModule;
-}
-
-namespace blink {
class ExceptionState;
class ExecutionContext;
class HTMLMediaElement;
class ScriptState;
+class WebContentDecryptionModule;
// References are held by JS and HTMLMediaElement.
// The WebContentDecryptionModule has the same lifetime as this object.
class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ContextLifecycleObserver, public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
public:
static ScriptPromise create(ScriptState*, const String& keySystem);
virtual ~MediaKeys();
@@ -74,6 +72,6 @@ private:
OwnPtr<blink::WebContentDecryptionModule> m_cdm;
};
-}
+} // namespace blink
#endif // MediaKeys_h
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeySession.h ('k') | Source/modules/filesystem/DOMFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698