summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
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/browser.h
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/browser.h')
-rw-r--r--chrome/browser/browser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 5b43a6b..4058632 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -315,10 +315,10 @@ class Browser : public TabStripModelDelegate,
// Returns true if a tab can be restored.
virtual bool CanRestoreTab();
- // Show a DOMUI tab given a URL. If a tab with the same URL is already
- // visible in this browser, it becomes selected. Otherwise a new tab is
- // created.
- void ShowSingleDOMUITab(const GURL& url);
+ // Show a given a URL. If a tab with the same URL (ignoring the ref) is
+ // already visible in this browser, it becomes selected. Otherwise a new tab
+ // is created.
+ void ShowSingletonTab(const GURL& url);
// Update commands whose state depends on whether the window is in fullscreen
// mode. This is a public function because on Linux, fullscreen mode is an