diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 14:20:50 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 14:20:50 +0000 |
commit | 5e689362e7c6f7b2535aa5ae6dbb198e03a372fb (patch) | |
tree | fe8ffb74424280bfb78b1c99cfc73caacf82237a /chrome/browser/tabs | |
parent | c62c75750f27acc86c0505d66837a72755aeb5bf (diff) | |
download | chromium_src-5e689362e7c6f7b2535aa5ae6dbb198e03a372fb.zip chromium_src-5e689362e7c6f7b2535aa5ae6dbb198e03a372fb.tar.gz chromium_src-5e689362e7c6f7b2535aa5ae6dbb198e03a372fb.tar.bz2 |
Fix the tab strip controller to use a list of controllers rather than relying on
a map of TabContents to controllers since the TabContents can change with no way
to update the map.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r-- | chrome/browser/tabs/tab_strip_model.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h index b12ff80..ca90db4 100644 --- a/chrome/browser/tabs/tab_strip_model.h +++ b/chrome/browser/tabs/tab_strip_model.h @@ -66,7 +66,9 @@ class TabStripModelObserver { virtual void TabMoved(TabContents* contents, int from_index, int to_index) { } - // The specified TabContents at |index| changed in some way. + // The specified TabContents at |index| changed in some way. |contents| may + // be an entirely different object and the old value is no longer available + // by the time this message is delivered. virtual void TabChangedAt(TabContents* contents, int index) { } // The TabStripModel now no longer has any "significant" (user created or // user manipulated) tabs. The implementer may use this as a trigger to try |