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

Side by Side Diff: third_party/WebKit/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HTMLMediaElementEncryptedMedia_h 5 #ifndef HTMLMediaElementEncryptedMedia_h
6 #define HTMLMediaElementEncryptedMedia_h 6 #define HTMLMediaElementEncryptedMedia_h
7 7
8 #include "core/EventTypeNames.h" 8 #include "core/EventTypeNames.h"
9 #include "core/dom/DOMTypedArray.h" 9 #include "core/dom/DOMTypedArray.h"
10 #include "core/events/EventTarget.h" 10 #include "core/events/EventTarget.h"
11 #include "modules/ModulesExport.h" 11 #include "modules/ModulesExport.h"
12 #include "platform/Supplementable.h" 12 #include "platform/Supplementable.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 #include "public/platform/WebEncryptedMediaTypes.h" 14 #include "public/platform/WebEncryptedMediaTypes.h"
15 #include "public/platform/WebMediaPlayerEncryptedMediaClient.h" 15 #include "public/platform/WebMediaPlayerEncryptedMediaClient.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class HTMLMediaElement; 19 class HTMLMediaElement;
20 class MediaKeys; 20 class MediaKeys;
21 class ScriptPromise; 21 class ScriptPromise;
22 class ScriptState; 22 class ScriptState;
23 class WebContentDecryptionModule; 23 class WebContentDecryptionModule;
24 class WebMediaPlayer;
25 24
26 class MODULES_EXPORT HTMLMediaElementEncryptedMedia final 25 class MODULES_EXPORT HTMLMediaElementEncryptedMedia final
27 : public GarbageCollectedFinalized<HTMLMediaElementEncryptedMedia>, 26 : public GarbageCollectedFinalized<HTMLMediaElementEncryptedMedia>,
28 public Supplement<HTMLMediaElement>, 27 public Supplement<HTMLMediaElement>,
29 public WebMediaPlayerEncryptedMediaClient { 28 public WebMediaPlayerEncryptedMediaClient {
30 USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElementEncryptedMedia); 29 USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElementEncryptedMedia);
31 30
32 public: 31 public:
33 static MediaKeys* mediaKeys(HTMLMediaElement&); 32 static MediaKeys* mediaKeys(HTMLMediaElement&);
34 static ScriptPromise setMediaKeys(ScriptState*, 33 static ScriptPromise setMediaKeys(ScriptState*,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // - attaching media keys, which shall have a boolean value 69 // - attaching media keys, which shall have a boolean value
71 bool m_isWaitingForKey; 70 bool m_isWaitingForKey;
72 bool m_isAttachingMediaKeys; 71 bool m_isAttachingMediaKeys;
73 72
74 Member<MediaKeys> m_mediaKeys; 73 Member<MediaKeys> m_mediaKeys;
75 }; 74 };
76 75
77 } // namespace blink 76 } // namespace blink
78 77
79 #endif 78 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.h ('k') | third_party/WebKit/Source/modules/fetch/Response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698