| OLD | NEW |
| 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 "modules/EventTargetModules.h" | 8 #include "modules/EventTargetModules.h" |
| 9 #include "platform/Supplementable.h" | 9 #include "platform/Supplementable.h" |
| 10 #include "platform/graphics/media/MediaPlayer.h" | 10 #include "platform/graphics/media/MediaPlayer.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "public/platform/WebMediaPlayerClient.h" | 12 #include "public/platform/WebMediaPlayerClient.h" |
| 13 #include "wtf/Forward.h" | 13 #include "wtf/Forward.h" |
| 14 | 14 |
| 15 namespace WebCore { | 15 namespace blink { |
| 16 | 16 |
| 17 class ExceptionState; | 17 class ExceptionState; |
| 18 class HTMLMediaElement; | 18 class HTMLMediaElement; |
| 19 class MediaKeys; | 19 class MediaKeys; |
| 20 | 20 |
| 21 class HTMLMediaElementEncryptedMedia FINAL : public NoBaseWillBeGarbageCollected
<HTMLMediaElementEncryptedMedia>, public WillBeHeapSupplement<HTMLMediaElement>
{ | 21 class HTMLMediaElementEncryptedMedia FINAL : public NoBaseWillBeGarbageCollected
<HTMLMediaElementEncryptedMedia>, public WillBeHeapSupplement<HTMLMediaElement>
{ |
| 22 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElementEncryptedMedia); | 22 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLMediaElementEncryptedMedia); |
| 23 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(HTMLMediaElementEncryptedMe
dia); | 23 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(HTMLMediaElementEncryptedMe
dia); |
| 24 public: | 24 public: |
| 25 // encrypted media extensions (v0.1b) | 25 // encrypted media extensions (v0.1b) |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void setMediaKeysInternal(HTMLMediaElement&, MediaKeys*); | 75 void setMediaKeysInternal(HTMLMediaElement&, MediaKeys*); |
| 76 | 76 |
| 77 EmeMode m_emeMode; | 77 EmeMode m_emeMode; |
| 78 | 78 |
| 79 PersistentWillBeMember<MediaKeys> m_mediaKeys; | 79 PersistentWillBeMember<MediaKeys> m_mediaKeys; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } | 82 } |
| 83 | 83 |
| 84 #endif | 84 #endif |
| OLD | NEW |