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

Unified Diff: content/browser/web_contents/web_contents_impl.h

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: . 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 8d550438fa12b6ff1af50c75f9e2f6d47c924858..9009826d9fa86dd47ca691849c4cff5e2f49d0dd 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -484,6 +484,10 @@ class CONTENT_EXPORT WebContentsImpl
bool success,
const string16& user_input);
+ // Callback function when requesting permission to access the PPAPI broker.
+ // |result| is true iff permission was granted.
+ void OnPpapiBrokerPermissionResult(int request_id, bool result);
+
// IPC message handlers.
void OnRegisterIntentService(const webkit_glue::WebIntentServiceData& data,
bool user_gesture);
@@ -533,6 +537,9 @@ class CONTENT_EXPORT WebContentsImpl
void OnWebUISend(const GURL& source_url,
const std::string& name,
const base::ListValue& args);
+ void OnRequestPpapiBrokerPermission(int request_id,
+ const GURL& url,
+ const FilePath& plugin_path);
// Changes the IsLoading state and notifies delegate as needed
// |details| is used to provide details on the load that just finished

Powered by Google App Engine
This is Rietveld 408576698