Chromium Code Reviews| 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*); | |
|
acolwell GONE FROM CHROMIUM
2014/03/17 23:34:45
Shouldn't this be provideMediaKeysControllerTo() s
eseidel
2014/03/17 23:48:03
It's also odd that this is in one header and defin
jrummell
2014/03/18 17:05:31
I just followed what was done for UserMediaClient/
| |
| 28 | |
| 29 } // namespace WebCore | |
| 30 | |
| 31 #endif // MediaKeysClient_h | |
| 32 | |
| OLD | NEW |