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/about_flags.cc | |
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/about_flags.cc')
-rw-r--r-- | chrome/browser/about_flags.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index 5cbfecb..f058f9b 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -249,6 +249,13 @@ const Experiment kExperiments[] = { SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) }, { + "compact-navigation", + IDS_FLAGS_ENABLE_COMPACT_NAVIGATION, + IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION, + kOsWin, // TODO(stevet): Add other platforms when ready. + SINGLE_VALUE_TYPE(switches::kEnableCompactNavigation) + }, + { "new-tab-page-4", IDS_FLAGS_NEW_TAB_PAGE_4_NAME, IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, |