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

Issue 7905: This fixes http://code.google.com/p/chromium/issues/detail?id=2529, which is... (Closed)

Created:
12 years, 2 months ago by ananta
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

This fixes http://code.google.com/p/chromium/issues/detail?id=2529, which is tabs displaying Loading/Untitled in Chrome. We should display the page URL if the title of the page is blank. Fix on these lines. R=beng Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3852

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M chrome/browser/navigation_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/navigation_entry.h View 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/navigation_entry.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
12 years, 2 months ago (2008-10-23 01:00:50 UTC) #1
Ben Goodger (Google)
12 years, 2 months ago (2008-10-23 01:57:11 UTC) #2
http://codereview.chromium.org/7905/diff/1/2
File chrome/browser/navigation_entry.h (right):

http://codereview.chromium.org/7905/diff/1/2#newcode222
Line 222: url_as_string_ = UTF8ToWide(url_.spec());
I actually think you should return the filename if not empty
(GURL::ExtractFilename), and if it's empty only then fall back to the URL.

Powered by Google App Engine
This is Rietveld 408576698