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

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

Issue 227413008: Add the feature to retain the user gesture in the extension callback (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 8 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_helper.h
===================================================================
--- chrome/renderer/extensions/extension_helper.h (revision 262146)
+++ chrome/renderer/extensions/extension_helper.h (working copy)
@@ -75,7 +75,8 @@
void OnExtensionResponse(int request_id, bool success,
const base::ListValue& response,
- const std::string& error);
+ const std::string& error,
+ const bool user_gesture);
void OnExtensionMessageInvoke(const std::string& extension_id,
const std::string& module_name,
const std::string& function_name,

Powered by Google App Engine
This is Rietveld 408576698