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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.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/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h
===================================================================
--- chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h (revision 262146)
+++ chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h (working copy)
@@ -87,7 +87,8 @@
scoped_ptr<ppapi::host::ReplyMessageContext> reply_context,
ExtensionFunction::ResponseType type,
const base::ListValue& results,
- const std::string& error);
+ const std::string& error,
+ const bool response_user_gesture);
not at google - send to devlin 2014/04/07 22:09:09 just |user_gesture| is fine, everywhere else too.
wjywbs 2014/04/08 13:24:42 I thought |user_gesture| is defined in extension_f
not at google - send to devlin 2014/04/08 16:01:10 Yeah the only place where you'd need to have a dif
bool HandleRequest(ppapi::host::HostMessageContext* context,
const std::string& request_name,

Powered by Google App Engine
This is Rietveld 408576698