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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 195053004: Create Pepper-based CDM for EME WD (Blink changes) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix copyright Created 6 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 5f302031d8c2a5b180ae036bb357dd666520d736..845b1a1a164b4f287e763e267da1a11ae912caec 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -362,6 +362,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
, m_speechRecognitionClient(SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0))
, m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0)))
, m_userMediaClientImpl(this)
+ , m_mediaKeysClientImpl(MediaKeysClientImpl::create())
, m_midiClientProxy(adoptPtr(new MIDIClientProxy(client ? client->webMIDIClient() : 0)))
, m_navigatorContentUtilsClient(NavigatorContentUtilsClientImpl::create(this))
, m_flingModifier(0)
@@ -388,6 +389,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
m_page = adoptPtr(new Page(pageClients));
provideUserMediaTo(*m_page, &m_userMediaClientImpl);
+ provideMediaKeysTo(*m_page, m_mediaKeysClientImpl.get());
provideMIDITo(*m_page, m_midiClientProxy.get());
#if ENABLE(INPUT_SPEECH)
provideSpeechInputTo(*m_page, m_speechInputClient.get());

Powered by Google App Engine
This is Rietveld 408576698