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

Issue 149308: a bunch of bookmark bar changes (Closed)

Created:
11 years, 5 months ago by John Grabowski
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Ben Goodger (Google)
Visibility:
Public.

Description

- Fix janklist issue #1: "there is a pixel line below the main toolbar. The main toolbar should blend in with the bookmark bar when it's open" - Fix janklist issue #2: "It's way too tall - the distance from the bottom of the bar to a bookmark button bottom edge should be the same as the distance from the omnibox to the bookmark button top edge (this will probably mean that the bar has to overlap the toolbar)." - Fix janklist issue #4 (first part): "the bookmark bar bookmark buttons have a frame around them ... " - Fix janklist issue #9: "the show/hide animation is very janky... I see a dark gray area behind". Even with animators the grey is gone, but animators are disabled for now due to races. - Fix unlisted jank related to 9: don't use animator when opening bar on launch. - Also chipped away on unit tests. TEST=Launch with bookmark bar both open and closed. Make sure OK on launch. In each case open and close a few times fast. Repeat with multiple windows open. Sanity check jank descriptions listed above are fixed. BUG=crbug.com/14139, crbug.com/8381, crbug.com/14724 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20244

Patch Set 1 #

Total comments: 35

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -115 lines) Patch
M chrome/app/nibs/en.lproj/Toolbar.xib View 1 2 14 chunks +80 lines, -7 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_bridge_unittest.mm View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.h View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 1 2 10 chunks +64 lines, -57 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller_unittest.mm View 1 2 5 chunks +41 lines, -3 lines 2 comments Download
MM chrome/browser/cocoa/bookmark_button_cell.mm View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.h View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller.mm View 1 2 6 chunks +8 lines, -19 lines 0 comments Download
M chrome/browser/cocoa/browser_window_controller_unittest.mm View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.h View 1 2 5 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller.mm View 1 2 4 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/toolbar_controller_unittest.mm View 1 2 3 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
John Grabowski
11 years, 5 months ago (2009-07-08 02:34:20 UTC) #1
John Grabowski
Adding more reviewers since Avi is away?
11 years, 5 months ago (2009-07-08 14:18:05 UTC) #2
Avi (use Gerrit)
LG http://codereview.chromium.org/149308/diff/1/9 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/149308/diff/1/9#newcode48 Line 48: // Owned by the toolbar view, it's ...
11 years, 5 months ago (2009-07-08 15:16:17 UTC) #3
pink (ping after 24hrs)
http://codereview.chromium.org/149308/diff/1/9 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/149308/diff/1/9#newcode48 Line 48: // Owned by the toolbar view, it's parent ...
11 years, 5 months ago (2009-07-08 15:25:27 UTC) #4
John Grabowski
Replies to comments. I still need to sync/merge/hit_the_try_servers on this. http://codereview.chromium.org/149308/diff/1/9 File chrome/browser/cocoa/bookmark_bar_controller.h (right): http://codereview.chromium.org/149308/diff/1/9#newcode48 ...
11 years, 5 months ago (2009-07-08 22:03:01 UTC) #5
pink (ping after 24hrs)
http://codereview.chromium.org/149308/diff/63/1034 File chrome/browser/cocoa/bookmark_bar_controller_unittest.mm (right): http://codereview.chromium.org/149308/diff/63/1034#newcode83 Line 83: scoped_nsobject<BookmarkURLOpenerPong> pong([[BookmarkURLOpenerPong alloc] the problem with converting this ...
11 years, 5 months ago (2009-07-09 14:19:42 UTC) #6
John Grabowski
11 years, 5 months ago (2009-07-09 22:07:26 UTC) #7
http://codereview.chromium.org/149308/diff/63/1034
File chrome/browser/cocoa/bookmark_bar_controller_unittest.mm (right):

http://codereview.chromium.org/149308/diff/63/1034#newcode83
Line 83: scoped_nsobject<BookmarkURLOpenerPong> pong([[BookmarkURLOpenerPong
alloc]
On 2009/07/09 14:19:42, pink wrote:
> the problem with converting this to a scoped object is now the delegate will
be
> garbage after this method returns until bar_ is deallocated. In practice,
we're
> safe, since we know that nothing is going to use it, but maybe better safe
than
> sorry by clearing the delegate before going out of scope?

It's a good idea; I will follow-up in a future CL.

Powered by Google App Engine
This is Rietveld 408576698