summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module.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/browser/extensions/extension_tabs_module.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/browser/extensions/extension_tabs_module.h')
-rw-r--r--chrome/browser/extensions/extension_tabs_module.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.h b/chrome/browser/extensions/extension_tabs_module.h
index c358529..3aa4520 100644
--- a/chrome/browser/extensions/extension_tabs_module.h
+++ b/chrome/browser/extensions/extension_tabs_module.h
@@ -7,6 +7,14 @@
#include "chrome/browser/extensions/extension_function.h"
+class TabContents;
+
+class ExtensionTabUtil {
+ public:
+ static int GetTabId(const TabContents* tab_contents);
+ static int GetWindowIdOfTab(const TabContents* tab_contents);
+};
+
class GetTabsForWindowFunction : public SyncExtensionFunction {
virtual bool RunImpl();
};