Chromium Code Reviews| Index: extensions/browser/extension_function.cc |
| =================================================================== |
| --- extensions/browser/extension_function.cc (revision 262146) |
| +++ extensions/browser/extension_function.cc (working copy) |
| @@ -75,6 +75,7 @@ |
| has_callback_(false), |
| include_incognito_(false), |
| user_gesture_(false), |
| + retain_user_gesture_(false), |
| bad_message_(false), |
| histogram_value_(extensions::functions::UNKNOWN), |
| source_tab_id_(-1) { |
| @@ -154,7 +155,7 @@ |
| if (!results_) |
| results_.reset(new base::ListValue()); |
| - response_callback_.Run(type, *results_, GetError()); |
| + response_callback_.Run(type, *results_, GetError(), retain_user_gesture_); |
|
not at google - send to devlin
2014/04/09 16:44:32
it should be "user_gesture_ && retain_user_gesture
|
| } |
| UIThreadExtensionFunction::UIThreadExtensionFunction() |