summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_browser_event_router.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-11 19:06:30 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-11 19:06:30 +0000
commitda25dd5722963ed608ed1f96e2821f12226ab0c7 (patch)
tree679b2fd1c70d9979e6a059043fbc96d432ddd7c8 /chrome/browser/extensions/extension_browser_event_router.h
parentc59a3056e4847224a141467682f59b6230a7399a (diff)
downloadchromium_src-da25dd5722963ed608ed1f96e2821f12226ab0c7.zip
chromium_src-da25dd5722963ed608ed1f96e2821f12226ab0c7.tar.gz
chromium_src-da25dd5722963ed608ed1f96e2821f12226ab0c7.tar.bz2
Changes instant so that the newly created tab has a new id. Doing
otherwise causes subtle problems with extensions and breaks the invariant that the tab id is unique. BUG=68508 TEST=none Review URL: http://codereview.chromium.org/6155003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71063 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_browser_event_router.h b/chrome/browser/extensions/extension_browser_event_router.h
index cdf2efe..e42f831 100644
--- a/chrome/browser/extensions/extension_browser_event_router.h
+++ b/chrome/browser/extensions/extension_browser_event_router.h
@@ -73,7 +73,8 @@ class ExtensionBrowserEventRouter : public TabStripModelObserver,
int to_index);
virtual void TabChangedAt(TabContentsWrapper* contents, int index,
TabChangeType change_type);
- virtual void TabReplacedAt(TabContentsWrapper* old_contents,
+ virtual void TabReplacedAt(TabStripModel* tab_strip_model,
+ TabContentsWrapper* old_contents,
TabContentsWrapper* new_contents,
int index);
virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);