diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 17:05:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-07 17:05:26 +0000 |
commit | 07d490bc5087148b010733d94561b54ccf65f70a (patch) | |
tree | 6d1c25a580918b442d17f0e2cba067263e30b7cb /chrome/browser/about_flags.cc | |
parent | f69eb0d94d333065322c672de1cb0ba738791cf4 (diff) | |
download | chromium_src-07d490bc5087148b010733d94561b54ccf65f70a.zip chromium_src-07d490bc5087148b010733d94561b54ccf65f70a.tar.gz chromium_src-07d490bc5087148b010733d94561b54ccf65f70a.tar.bz2 |
Adds a lab that prefers switching to an existing tab rather than
openning a url (when the url is typed into the omnibox). For example,
if the 10th tab is for 'google.com' the first tab is selected and you
type in 'google.com', this will switch to the 10th tab and not load
anything.
BUG=46623
TEST=none
Review URL: http://codereview.chromium.org/3173036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77146 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 3fe6e719..4d59c635 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -262,6 +262,13 @@ const Experiment kExperiments[] = { kOsAll, SINGLE_VALUE_TYPE(switches::kEnableP2PApi) }, + { + "focus-existing-tab-on-open", // FLAGS:RECORD_UMA + IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, + IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, + kOsAll, + SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) + }, }; const Experiment* experiments = kExperiments; |