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

Issue 11428149: Alternate NTP: Move bookmark bar to bottom (Closed)

Created:
8 years ago by sail
Modified:
8 years ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sail+watch_chromium.org, tfarina
Visibility:
Public.

Description

Alternate NTP: Move bookmark bar to bottom This CL moves the detached bookmark bar to the bottom of the new tab page. Some differences between this and the old detached bookmark bar: - view is horizontally centered - view has a maximum width of 720 - view is hidden if the height of the new tab page goes below 558 - view doesn't animate when attached or detached from the toolbar Some things that this CL doesn't do yet: - update the look of the detached bookmark bar - hide the attached bookmark bar when showing instant search results Screenshot: http://i.imgur.com/ihkO0.png BUG=160843 TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171075

Patch Set 1 #

Patch Set 2 : add tests #

Total comments: 11

Patch Set 3 : address review comments #

Patch Set 4 : address review comments #

Total comments: 4

Patch Set 5 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -75 lines) Patch
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 2 3 4 5 chunks +28 lines, -2 lines 0 comments Download
A chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm View 1 2 3 4 1 chunk +120 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 chunks +49 lines, -18 lines 0 comments Download
M chrome/browser/ui/search/search.h View 1 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/search.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/search/search_delegate_unittest.cc View 1 2 3 4 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/ui/search/search_ui.h View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
D chrome/browser/ui/search/search_ui.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_unittest.cc View 1 2 3 4 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
sail
8 years ago (2012-12-04 00:43:46 UTC) #1
dhollowa
Thanks for the tests! https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm#newcode41 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm:41: }; nit: DISALLOW_COPY_AND_ASSIGN() https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File ...
8 years ago (2012-12-04 01:24:48 UTC) #2
sail
https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm#newcode41 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_browsertest.mm:41: }; On 2012/12/04 01:24:49, dhollowa wrote: > nit: DISALLOW_COPY_AND_ASSIGN() ...
8 years ago (2012-12-04 01:41:12 UTC) #3
dhollowa
https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc File chrome/browser/ui/search/search.cc (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc#newcode14 chrome/browser/ui/search/search.cc:14: static bool s_is_instant_extended_api_enabled_for_testing = false; If you sync, you'll ...
8 years ago (2012-12-04 01:56:16 UTC) #4
sail
https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc File chrome/browser/ui/search/search.cc (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc#newcode14 chrome/browser/ui/search/search.cc:14: static bool s_is_instant_extended_api_enabled_for_testing = false; On 2012/12/04 01:56:16, dhollowa ...
8 years ago (2012-12-04 04:26:30 UTC) #5
dhollowa
https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc File chrome/browser/ui/search/search.cc (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc#newcode14 chrome/browser/ui/search/search.cc:14: static bool s_is_instant_extended_api_enabled_for_testing = false; On 2012/12/04 04:26:30, sail ...
8 years ago (2012-12-04 05:17:53 UTC) #6
kuan
lgtm for bmb-related code. https://codereview.chromium.org/11428149/diff/12002/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/11428149/diff/12002/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode242 chrome/browser/ui/cocoa/browser_window_controller_private.mm:242: // If the bookmark bar ...
8 years ago (2012-12-04 09:12:28 UTC) #7
Robert Sesek
cocoa LGTM https://codereview.chromium.org/11428149/diff/12002/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm File chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm (right): https://codereview.chromium.org/11428149/diff/12002/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm#newcode2302 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm:2302: chrome::search::kMinContentHeightForBottomBookmarkBar) { nit: over-indented. just indent 4 ...
8 years ago (2012-12-04 17:05:58 UTC) #8
sail
Addressed review comments. dhollowa: could you take another look? https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc File chrome/browser/ui/search/search.cc (right): https://codereview.chromium.org/11428149/diff/2001/chrome/browser/ui/search/search.cc#newcode14 chrome/browser/ui/search/search.cc:14: ...
8 years ago (2012-12-04 18:00:07 UTC) #9
dhollowa
LGTM. Thanks!
8 years ago (2012-12-04 18:16:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/11428149/5003
8 years ago (2012-12-04 18:21:33 UTC) #11
commit-bot: I haz the power
Presubmit check for 11428149-5003 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-04 18:21:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/11428149/5003
8 years ago (2012-12-04 18:31:31 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-04 23:06:27 UTC) #14
Message was sent while issue was closed.
Change committed as 171075

Powered by Google App Engine
This is Rietveld 408576698