summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_model_observer.h
diff options
context:
space:
mode:
authorstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 13:26:05 +0000
committerstevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 13:26:05 +0000
commitac86c98e2ff5c93c62b54392e975afec381a2855 (patch)
tree277726a3b4234864493eead0663f5be6a8c387f4 /chrome/browser/tabs/tab_strip_model_observer.h
parent659a95bf640de07acaa34a341033d581e4db0bd2 (diff)
downloadchromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.zip
chromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.tar.gz
chromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.tar.bz2
The initial prototype code for the compact navigation (cnav) prototype, currently only active in windows. This is well hidden behind a flag and a context menu option.
Loosely based off oshima's original prototype patch: http://codereview.chromium.org/165272 BUG=None TEST=Activate the cnav prototype in about:flags. Right click a tab and select "Hide Toolbar" to go into cnav mode. Ensure that the compact location bar provides the same basic functionality as the toolbar (except browser actions). Review URL: http://codereview.chromium.org/6913026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model_observer.h')
-rw-r--r--chrome/browser/tabs/tab_strip_model_observer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tabs/tab_strip_model_observer.h b/chrome/browser/tabs/tab_strip_model_observer.h
index af169ea..ba9df25 100644
--- a/chrome/browser/tabs/tab_strip_model_observer.h
+++ b/chrome/browser/tabs/tab_strip_model_observer.h
@@ -127,6 +127,10 @@ class TabStripModelObserver {
// must be dropped.
virtual void TabStripModelDeleted();
+ // Invoked when an active/selected tab at |index| is selected again (ie - the
+ // active/foreground tab is clicked).
+ virtual void ActiveTabClicked(int index);
+
protected:
virtual ~TabStripModelObserver() {}
};