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

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: Move provideMediaKeysTo() to MediaKeysController 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..16bdae5aa2b522a933d643c99de6ef31bb365c6c 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -118,6 +118,7 @@
#include "core/rendering/TextAutosizer.h"
#include "core/rendering/compositing/RenderLayerCompositor.h"
#include "modules/device_orientation/DeviceOrientationInspectorAgent.h"
+#include "modules/encryptedmedia/MediaKeysController.h"
#include "modules/geolocation/GeolocationController.h"
#include "modules/indexeddb/InspectorIndexedDBAgent.h"
#include "modules/notifications/NotificationController.h"
@@ -388,6 +389,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
m_page = adoptPtr(new Page(pageClients));
provideUserMediaTo(*m_page, &m_userMediaClientImpl);
+ MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl);
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