Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 155534: Fix misleading name and comment of Browser::GetCurrentPageTitle. (Closed)

Created:
11 years, 5 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix misleading name and comment of Browser::GetCurrentPageTitle. GetWindowTitleForCurrentTab more accurately describes what this function really does. TEST=none http://crbug.com/16231 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21114

Patch Set 1 #

Patch Set 2 : replace in one more place #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M chrome/browser/browser.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/browser.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/browser_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/browser_window_cocoa.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/panel_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Paweł Hajdan Jr.
11 years, 5 months ago (2009-07-14 22:01:00 UTC) #1
Paweł Hajdan Jr.
ping
11 years, 5 months ago (2009-07-15 16:08:16 UTC) #2
Paweł Hajdan Jr.
ping!
11 years, 5 months ago (2009-07-16 15:47:29 UTC) #3
Paweł Hajdan Jr.
+brettw Ben seems to not respond to my pings, and from his e-mail I infer ...
11 years, 5 months ago (2009-07-20 19:15:52 UTC) #4
brettw
11 years, 5 months ago (2009-07-20 19:28:04 UTC) #5
I didn't really find the old one confusing, although your new change is fine
too. I guess I was thinking that the view would decide how the title is
displayed and what to display, and this function is exposing to the view the
title of the current tab in the case that the view wants to use it as the window
title.

LGTM

Powered by Google App Engine
This is Rietveld 408576698