summaryrefslogtreecommitdiffstats
path: root/chrome/browser/back_forward_menu_model.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-31 00:10:31 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-31 00:10:31 +0000
commit71d6e77d7dfb71c8db3430e16f1777fb33ee2681 (patch)
treeecfc530e3ba0dd855f7208b69afd03e8e2658729 /chrome/browser/back_forward_menu_model.cc
parentbe6fca6c1f6e90be5a1d513130433a2434fadf64 (diff)
downloadchromium_src-71d6e77d7dfb71c8db3430e16f1777fb33ee2681.zip
chromium_src-71d6e77d7dfb71c8db3430e16f1777fb33ee2681.tar.gz
chromium_src-71d6e77d7dfb71c8db3430e16f1777fb33ee2681.tar.bz2
Ignore ref (hash fragment) in URL when opening singleton tabs based on URLs.
I renamed the method name in preparation of using this for opening the bookmark manager extension. BUG=None TEST=Open History. Do a search and open history again. We should not create a new tab but go to the existing one. Review URL: http://codereview.chromium.org/553151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/back_forward_menu_model.cc')
-rw-r--r--chrome/browser/back_forward_menu_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/back_forward_menu_model.cc b/chrome/browser/back_forward_menu_model.cc
index 6ceede4..7d54e94 100644
--- a/chrome/browser/back_forward_menu_model.cc
+++ b/chrome/browser/back_forward_menu_model.cc
@@ -135,7 +135,7 @@ void BackForwardMenuModel::ActivatedAt(int index) {
if (index == GetItemCount() - 1) {
UserMetrics::RecordComputedAction(BuildActionName("ShowFullHistory", -1),
controller.profile());
- browser_->ShowSingleDOMUITab(GURL(chrome::kChromeUIHistoryURL));
+ browser_->ShowSingletonTab(GURL(chrome::kChromeUIHistoryURL));
return;
}