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

Issue 339087: Mac: correct favicons in bookmarks bar (for pages w/o one and for subfolders). (Closed)

Created:
11 years, 1 month ago by viettrungluu
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Mac: correct favicons in bookmarks bar (for pages w/o one and for subfolders). Bookmarks for pages without a favicon should display a generic "blank page" icon (this also helps avoid a blank button if the bookmark also doesn't have a title). Also, folders within folders also need to display the folder icon. BUG=23558 TEST=See above; be sure to test things on the bar and in folders, and make sure that pages with favicons are still displayed correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30818

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated per Nico's review and merged ToT. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -30 lines) Patch
M chrome/browser/cocoa/bookmark_bar_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 1 8 chunks +23 lines, -30 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
viettrungluu
11 years, 1 month ago (2009-10-30 19:28:20 UTC) #1
Nico
Drive-by LGTM. http://codereview.chromium.org/339087/diff/1/2 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/339087/diff/1/2#newcode76 Line 76: // The default (generic) image, also ...
11 years, 1 month ago (2009-10-31 03:33:24 UTC) #2
John Grabowski
LGTM http://codereview.chromium.org/339087/diff/1/3 File chrome/browser/cocoa/bookmark_bar_controller.mm (right): http://codereview.chromium.org/339087/diff/1/3#newcode756 Line 756: const SkBitmap& favIcon = bookmarkModel_->GetFavIcon(node); When bookmarks ...
11 years, 1 month ago (2009-11-01 21:35:20 UTC) #3
pink (ping after 24hrs)
LGTM
11 years, 1 month ago (2009-11-02 16:06:32 UTC) #4
viettrungluu
Thanks everyone. http://codereview.chromium.org/339087/diff/1/2 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/339087/diff/1/2#newcode76 Line 76: // The default (generic) image, also ...
11 years, 1 month ago (2009-11-03 16:48:33 UTC) #5
pink (ping after 24hrs)
11 years, 1 month ago (2009-11-03 19:42:44 UTC) #6
one more thing...

http://codereview.chromium.org/339087/diff/3002/3004
File chrome/browser/cocoa/bookmark_bar_controller.mm (right):

http://codereview.chromium.org/339087/diff/3002/3004#newcode60
Line 60: - (NSImage*)getFavIconForNode:(const BookmarkNode*)node;
the normal obj-c method naming conventions avoid the form "getFoo".
favIconForNode: would work just fine and would be consistent with the rest of
our naming.

Powered by Google App Engine
This is Rietveld 408576698