From 7c6d948a2a351c1fc1a5055d509865fe0cfda51b Mon Sep 17 00:00:00 2001 From: "gbillock@chromium.org" Date: Fri, 28 Mar 2014 20:19:31 +0000 Subject: [Media] Add user gesture reporting for API calls to midi and media streams. BUG=332115 Review URL: https://codereview.chromium.org/185863003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260257 0039d316-1c4b-4281-b951-d872f2087c98 --- content/shell/browser/shell_browser_context.cc | 1 + content/shell/browser/shell_browser_context.h | 1 + 2 files changed, 2 insertions(+) (limited to 'content/shell/browser') diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc index dbceb62..b37521e 100644 --- a/content/shell/browser/shell_browser_context.cc +++ b/content/shell/browser/shell_browser_context.cc @@ -183,6 +183,7 @@ void ShellBrowserContext::RequestMidiSysExPermission( int render_view_id, int bridge_id, const GURL& requesting_frame, + bool user_gesture, const MidiSysExPermissionCallback& callback) { // Always reject requests for LayoutTests for now. // TODO(toyoshim): Make it programmable to improve test coverage. diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h index e9ca9bd..3bd5192 100644 --- a/content/shell/browser/shell_browser_context.h +++ b/content/shell/browser/shell_browser_context.h @@ -48,6 +48,7 @@ class ShellBrowserContext : public BrowserContext { int render_view_id, int bridge_id, const GURL& requesting_frame, + bool user_gesture, const MidiSysExPermissionCallback& callback) OVERRIDE; virtual void CancelMidiSysExPermissionRequest( int render_process_id, -- cgit v1.1