summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/extension_helper.h
diff options
context:
space:
mode:
authormek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-23 01:17:26 +0000
committermek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-23 01:17:26 +0000
commit8865feaad093faa5703ce0e1f0b5ff36fd65f0ad (patch)
tree7e57fed0d722fdcd7ef2f6a7491282c5cfdf5f3e /chrome/renderer/extensions/extension_helper.h
parent95ab88d95e0883fd8e42d1ec7cd234afa68e7114 (diff)
downloadchromium_src-8865feaad093faa5703ce0e1f0b5ff36fd65f0ad.zip
chromium_src-8865feaad093faa5703ce0e1f0b5ff36fd65f0ad.tar.gz
chromium_src-8865feaad093faa5703ce0e1f0b5ff36fd65f0ad.tar.bz2
Pass user gesture state along with chrome.runtime.sendMessage.
BUG=308631 Review URL: https://codereview.chromium.org/29493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230270 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/extension_helper.h')
-rw-r--r--chrome/renderer/extensions/extension_helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/extension_helper.h b/chrome/renderer/extensions/extension_helper.h
index 68ac896e..a5f48ab 100644
--- a/chrome/renderer/extensions/extension_helper.h
+++ b/chrome/renderer/extensions/extension_helper.h
@@ -29,6 +29,7 @@ class ListValue;
namespace extensions {
class Dispatcher;
+struct Message;
// RenderView-level plumbing for extension features.
class ExtensionHelper
@@ -87,7 +88,7 @@ class ExtensionHelper
const ExtensionMsg_ExternalConnectionInfo& info,
const std::string& tls_channel_id);
void OnExtensionDeliverMessage(int target_port_id,
- const std::string& message);
+ const Message& message);
void OnExtensionDispatchOnDisconnect(int port_id,
const std::string& error_message);
void OnExecuteCode(const ExtensionMsg_ExecuteCode_Params& params);