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

Unified Diff: chrome/renderer/extensions/dispatcher.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: gclient sync 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/dispatcher.h
===================================================================
--- chrome/renderer/extensions/dispatcher.h (revision 263023)
+++ chrome/renderer/extensions/dispatcher.h (working copy)
@@ -122,7 +122,8 @@
void OnExtensionResponse(int request_id,
bool success,
const base::ListValue& response,
- const std::string& error);
+ const std::string& error,
+ bool user_gesture);
// Checks that the current context contains an extension that has permission
// to execute the specified function. If it does not, a v8 exception is thrown

Powered by Google App Engine
This is Rietveld 408576698