OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MediaKeysClient_h |
| 6 #define MediaKeysClient_h |
| 7 |
| 8 #include "wtf/text/WTFString.h" |
| 9 |
| 10 namespace blink { |
| 11 class WebContentDecryptionModule; |
| 12 } |
| 13 |
| 14 namespace WebCore { |
| 15 |
| 16 class ExecutionContext; |
| 17 class Page; |
| 18 |
| 19 class MediaKeysClient { |
| 20 public: |
| 21 virtual blink::WebContentDecryptionModule* createContentDecryptionModule(Exe
cutionContext*, const String& keySystem) = 0; |
| 22 |
| 23 protected: |
| 24 virtual ~MediaKeysClient() { } |
| 25 }; |
| 26 |
| 27 void provideMediaKeysTo(Page&, MediaKeysClient*); |
| 28 |
| 29 } // namespace WebCore |
| 30 |
| 31 #endif // MediaKeysClient_h |
| 32 |
OLD | NEW |