diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 13:26:05 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 13:26:05 +0000 |
commit | ac86c98e2ff5c93c62b54392e975afec381a2855 (patch) | |
tree | 277726a3b4234864493eead0663f5be6a8c387f4 /chrome/browser/tabs/tab_strip_model_observer.h | |
parent | 659a95bf640de07acaa34a341033d581e4db0bd2 (diff) | |
download | chromium_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.h | 4 |
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() {} }; |