summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.h
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 02:41:28 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 02:41:28 +0000
commitb68d5ed3f9d1b49b24713431bfe212b7601b75b1 (patch)
tree9d374ca1d7c1f5f8a25fefacde0bcf3396595da6 /chrome/renderer/render_thread.h
parentf606747ffb21e9d0c6d55c9b57d42445503728f1 (diff)
downloadchromium_src-b68d5ed3f9d1b49b24713431bfe212b7601b75b1.zip
chromium_src-b68d5ed3f9d1b49b24713431bfe212b7601b75b1.tar.gz
chromium_src-b68d5ed3f9d1b49b24713431bfe212b7601b75b1.tar.bz2
Initial plumbing for sending events from the browser to extension renderers. Implement onTabMoved.
Review URL: http://codereview.chromium.org/73065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r--chrome/renderer/render_thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index 0d5da09..637c4c5 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -5,6 +5,7 @@
#ifndef CHROME_RENDERER_RENDER_THREAD_H_
#define CHROME_RENDERER_RENDER_THREAD_H_
+#include <string>
#include <vector>
#include "base/gfx/native_widget_types.h"
@@ -125,6 +126,8 @@ class RenderThread : public RenderThreadBase,
void OnExtensionHandleConnect(int channel_id);
void OnExtensionHandleMessage(const std::string& message, int channel_id);
+ void OnExtensionHandleEvent(const std::string event_name,
+ const std::string event_data);
// Gather usage statistics from the in-memory cache and inform our host.
// These functions should be call periodically so that the host can make