diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-12 23:53:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-12 23:53:23 +0000 |
commit | f13b420fc3ab55df162b488cd4e02010983b59d8 (patch) | |
tree | 7140323af20b48ab9c0929349dd9c862dd06230b /chrome/browser/chrome_content_browser_client.h | |
parent | c9bcc11dab268a7222753496e1302d2f46bc7b20 (diff) | |
download | chromium_src-f13b420fc3ab55df162b488cd4e02010983b59d8.zip chromium_src-f13b420fc3ab55df162b488cd4e02010983b59d8.tar.gz chromium_src-f13b420fc3ab55df162b488cd4e02010983b59d8.tar.bz2 |
Refactor the content interface for RequestMediaAccessPermission.
This makes RequestMediaAccessPermission a part of WebContentsDelegate instead
of ContentBrowserClient. The request UI (or lack thereof) needs to be
controlled by the WebContentsDelegate so that platform apps can grant permission
differently than a normal browser. This also seems appropriate because
each request is made on behalf of a particular web contents.
BUG=130216
TEST=navigator.webkitGetUserMedia still works for normal web pages
Review URL: https://chromiumcodereview.appspot.com/10542092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.h')
-rw-r--r-- | chrome/browser/chrome_content_browser_client.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h index b5a2153..05a24e5 100644 --- a/chrome/browser/chrome_content_browser_client.h +++ b/chrome/browser/chrome_content_browser_client.h @@ -127,9 +127,6 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient { net::X509Certificate* cert, int render_process_id, int render_view_id) OVERRIDE; - virtual void RequestMediaAccessPermission( - const content::MediaStreamRequest* request, - const content::MediaResponseCallback& callback) OVERRIDE; virtual content::MediaObserver* GetMediaObserver() OVERRIDE; virtual void RequestDesktopNotificationPermission( const GURL& source_origin, |