summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 22:07:32 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 22:07:32 +0000
commit731f8a457d14ed49c2aed56fd5a59d1719837171 (patch)
tree3cfaaccd4e666fb455df028a7e856ebebef4e95d /chrome/browser/browser.h
parent772836b19450e8e15ac98e6f783af0fc1a2fb8e3 (diff)
downloadchromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.zip
chromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.tar.gz
chromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.tar.bz2
Fix misleading name and comment of Browser::GetCurrentPageTitle.
GetWindowTitleForCurrentTab more accurately describes what this function really does. TEST=none http://crbug.com/16231 Review URL: http://codereview.chromium.org/155534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 98464b3..2dd56b1 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -162,8 +162,8 @@ class Browser : public TabStripModelDelegate,
// Gets the FavIcon of the page in the selected tab.
SkBitmap GetCurrentPageIcon() const;
- // Gets the title of the page in the selected tab.
- string16 GetCurrentPageTitle() const;
+ // Gets the title of the window based on the selected tab's title.
+ string16 GetWindowTitleForCurrentTab() const;
// Prepares a title string for display (removes embedded newlines, etc).
static void FormatTitleForDisplay(string16* title);