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

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: brett 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b9320aed69ec0249a25201e11d8e3332633fd307..bbed1ca9b878a3eaed14a4019fd28ca3316af687 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -488,6 +488,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.
brettw 2012/08/22 22:37:31 "iff" -> "if". I think "iff" doesn't add anything
Bernhard Bauer 2012/08/23 09:37:41 Done.
+ void OnPpapiBrokerPermissionResult(int request_id, bool result);
+
// IPC message handlers.
void OnRegisterIntentService(const webkit_glue::WebIntentServiceData& data,
bool user_gesture);
@@ -537,6 +541,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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698