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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 18325007: Web MIDI: introduce WebMIDIClient API to request a permission (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address chris' review Created 7 years, 5 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
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 286fc9a7e8f6a10d129e3e9ff24f70275aafdb9f..0c2032423a036cfb8806681bb68ec4b43adfa7f9 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -422,6 +422,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
, m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0)))
, m_emulatedTextZoomFactor(1)
, m_userMediaClientImpl(this)
+ , m_midiClientImpl(this)
#if ENABLE(NAVIGATOR_CONTENT_UTILS)
, m_navigatorContentUtilsClient(NavigatorContentUtilsClientImpl::create(this))
#endif
@@ -443,6 +444,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
m_page = adoptPtr(new Page(pageClients));
provideUserMediaTo(m_page.get(), &m_userMediaClientImpl);
+ provideMIDITo(m_page.get(), &m_midiClientImpl);
#if ENABLE(INPUT_SPEECH)
provideSpeechInputTo(m_page.get(), m_speechInputClient.get());
#endif
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698