diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 22:28:45 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 22:28:45 +0000 |
commit | 03b1575eb9349ad2c7563ea0caef88da0906537e (patch) | |
tree | 5bb1bb45fb5cc1cfa185d397d539b637e682d84b /chrome/browser/extensions/extension_browser_event_router.h | |
parent | 9be096ebf44c2d685335bf78ddde018ea4a50cb0 (diff) | |
download | chromium_src-03b1575eb9349ad2c7563ea0caef88da0906537e.zip chromium_src-03b1575eb9349ad2c7563ea0caef88da0906537e.tar.gz chromium_src-03b1575eb9349ad2c7563ea0caef88da0906537e.tar.bz2 |
implement remaining tab events (except for onTabUpdated).
Review URL: http://codereview.chromium.org/88053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_browser_event_router.h')
-rw-r--r-- | chrome/browser/extensions/extension_browser_event_router.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_browser_event_router.h b/chrome/browser/extensions/extension_browser_event_router.h index a438e66..3a2f5ec 100644 --- a/chrome/browser/extensions/extension_browser_event_router.h +++ b/chrome/browser/extensions/extension_browser_event_router.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ #include <vector> +#include <set> #include <string> #include "base/basictypes.h" @@ -49,6 +50,10 @@ class ExtensionBrowserEventRouter : public TabStripModelObserver, bool initialized_; + // Maintain set of known tab ids, so we can distinguish between tab creation + // and tab insertion. Also used to not send tab-detached after tab-removed. + std::set<int> tab_ids_; + DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); }; |