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

Side by Side Diff: chrome/browser/extensions/chrome_extension_host_delegate.h

Issue 562263002: Check media permissions through RenderFrameHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render_frame_get_sources
Patch Set: Rebase Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
7 7
8 #include "extensions/browser/extension_host_delegate.h" 8 #include "extensions/browser/extension_host_delegate.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 14 matching lines...) Expand all
25 virtual void CreateTab(content::WebContents* web_contents, 25 virtual void CreateTab(content::WebContents* web_contents,
26 const std::string& extension_id, 26 const std::string& extension_id,
27 WindowOpenDisposition disposition, 27 WindowOpenDisposition disposition,
28 const gfx::Rect& initial_pos, 28 const gfx::Rect& initial_pos,
29 bool user_gesture) OVERRIDE; 29 bool user_gesture) OVERRIDE;
30 virtual void ProcessMediaAccessRequest( 30 virtual void ProcessMediaAccessRequest(
31 content::WebContents* web_contents, 31 content::WebContents* web_contents,
32 const content::MediaStreamRequest& request, 32 const content::MediaStreamRequest& request,
33 const content::MediaResponseCallback& callback, 33 const content::MediaResponseCallback& callback,
34 const Extension* extension) OVERRIDE; 34 const Extension* extension) OVERRIDE;
35 virtual bool CheckMediaAccessPermission(content::WebContents* web_contents,
36 const GURL& security_origin,
37 content::MediaStreamType type,
38 const Extension* extension) OVERRIDE;
35 }; 39 };
36 40
37 } // namespace extensions 41 } // namespace extensions
38 42
39 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_ 43 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | chrome/browser/extensions/chrome_extension_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698