Chromium Code Reviews| 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()); |
|
acolwell GONE FROM CHROMIUM
2014/03/17 23:34:45
Could you get away w/ passing MediaKeysClient& her
jrummell
2014/03/18 17:05:31
Done.
|
| provideMIDITo(*m_page, m_midiClientProxy.get()); |
| #if ENABLE(INPUT_SPEECH) |
| provideSpeechInputTo(*m_page, m_speechInputClient.get()); |