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 "core/events/EventTarget.h" | 8 #include "core/events/EventTarget.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" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 // check (and set if necessary) the encrypted media extensions (EME) mode | 69 // check (and set if necessary) the encrypted media extensions (EME) mode |
70 // (v0.1b or WD). Returns whether the mode is allowed and successfully set. | 70 // (v0.1b or WD). Returns whether the mode is allowed and successfully set. |
71 bool setEmeMode(EmeMode, ExceptionState&); | 71 bool setEmeMode(EmeMode, ExceptionState&); |
72 | 72 |
73 blink::WebContentDecryptionModule* contentDecryptionModule(); | 73 blink::WebContentDecryptionModule* contentDecryptionModule(); |
74 void setMediaKeysInternal(HTMLMediaElement&, MediaKeys*); | 74 void setMediaKeysInternal(HTMLMediaElement&, MediaKeys*); |
75 | 75 |
76 EmeMode m_emeMode; | 76 EmeMode m_emeMode; |
77 | 77 |
78 RefPtrWillBePersistent<MediaKeys> m_mediaKeys; | 78 Persistent<MediaKeys> m_mediaKeys; |
79 }; | 79 }; |
80 | 80 |
81 } | 81 } |
82 | 82 |
83 #endif | 83 #endif |
OLD | NEW |