summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 17:06:21 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-30 17:06:21 +0000
commit7209cb729d172a9aa8999dac0c9f6bd80f23c4c2 (patch)
tree5b0c62d482856faf0982378528031c1c8c4c9eff /chrome/browser/tabs/tab_strip_model.h
parent7838c2502799cbfe33ba16575b0e7d0b03740dd1 (diff)
downloadchromium_src-7209cb729d172a9aa8999dac0c9f6bd80f23c4c2.zip
chromium_src-7209cb729d172a9aa8999dac0c9f6bd80f23c4c2.tar.gz
chromium_src-7209cb729d172a9aa8999dac0c9f6bd80f23c4c2.tar.bz2
GTK: Cleanups to the new wrench menu.
- Make the rendering for multiple buttons pretty by unifying sequnces of buttons. - Add the zoom label control and make the wrench menu model listen for notifications about zoom percentage changing. - Fixes crash that would have gone away once this was taken out from behind a flag BUG=45757 TEST=none Review URL: http://codereview.chromium.org/2799043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.h b/chrome/browser/tabs/tab_strip_model.h
index f9cb205..bfca5ec 100644
--- a/chrome/browser/tabs/tab_strip_model.h
+++ b/chrome/browser/tabs/tab_strip_model.h
@@ -125,6 +125,10 @@ class TabStripModelObserver {
// use this as a trigger to try and close the window containing the
// TabStripModel, for example...
virtual void TabStripEmpty() {}
+
+ // Sent when the tabstrip model is about to be deleted and any reference held
+ // must be dropped.
+ virtual void TabStripModelDeleted() {}
};
///////////////////////////////////////////////////////////////////////////////