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

Unified Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 9316102: Update extension events, routing, and delivery to use user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 10 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/renderer/extensions/extension_dispatcher.h
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
index 6e89a058680546bcbee3a5a4b2e931a1d3050da9..1d758c284e8288ecd532979574ece4a0e3383fb7 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -102,7 +102,8 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
void OnMessageInvoke(const std::string& extension_id,
const std::string& function_name,
const base::ListValue& args,
- const GURL& event_url);
+ const GURL& event_url,
+ bool user_gesture);
void OnDeliverMessage(int target_port_id, const std::string& message);
void OnSetFunctionNames(const std::vector<std::string>& names);
void OnLoaded(

Powered by Google App Engine
This is Rietveld 408576698