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

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

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.cc
===================================================================
--- chrome/renderer/extensions/extension_helper.cc (revision 262146)
+++ chrome/renderer/extensions/extension_helper.cc (working copy)
@@ -253,11 +253,13 @@
void ExtensionHelper::OnExtensionResponse(int request_id,
bool success,
const base::ListValue& response,
- const std::string& error) {
+ const std::string& error,
+ bool user_gesture) {
dispatcher_->OnExtensionResponse(request_id,
success,
response,
- error);
+ error,
+ user_gesture);
}
void ExtensionHelper::OnExtensionMessageInvoke(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698