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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 10854040: Add hooks to content to request permission to connect to the PPAPI broker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 4 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
Index: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 9a5502cbff9f783c8a7da00f619322ec365480f8..d9e95932119910055c32e4db0aeb05661aa3a27e 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -827,6 +827,15 @@ void ExternalTabContainerWin::RequestMediaAccessPermission(
Browser::RequestMediaAccessPermissionHelper(web_contents, request, callback);
}
+void ExternalTabContainerWin::RequestPpapiBrokerPermission(
ddorwin 2012/08/12 22:51:16 Why does this need to be overridden?
Bernhard Bauer 2012/08/13 09:02:11 The default implementation immediately returns fal
+ WebContents* web_contents,
+ const GURL& url,
+ const FilePath& plugin_path,
+ const base::Callback<void(bool)>& callback) {
+ Browser::RequestPpapiBrokerPermissionHelper(web_contents, url,
+ plugin_path, callback);
+}
+
bool ExternalTabContainerWin::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(ExternalTabContainerWin, message)

Powered by Google App Engine
This is Rietveld 408576698