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

Issue 1408273002: Make some updates to BM bar for MD. (Closed)

Created:
5 years, 2 months ago by Evan Stade
Modified:
5 years, 1 month ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make some updates to BM bar for MD. - Adjust some layout constants. The height of the bar is already spot-on so no adjustments in the vertical dimension. - Empty bookmark bar: * import link text uses link color, as long as it's readable enough. Otherwise, fall back to current behavior (bookmark bar text color). * spacing between label and link is one space, rather than 6px. - Detached bookmark bar bg color (bottom separator color is not updated but is already pretty close to spec, and is calculated programatically, so I'm leaving it alone for now) BUG=505807, 538172, 538173 Committed: https://crrev.com/e61501e21cce896426e724c047e2d7998e89b05e Cr-Commit-Position: refs/heads/master@{#356496}

Patch Set 1 #

Patch Set 2 : also update detached bg #

Total comments: 7

Patch Set 3 : simplify #

Patch Set 4 : measure twice layout once #

Patch Set 5 : revert minor change #

Patch Set 6 : format #

Total comments: 3

Patch Set 7 : cache #

Patch Set 8 : eschew redundancy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -15 lines) Patch
M chrome/browser/ui/search/search_ui.cc View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc View 1 2 3 4 5 6 7 6 chunks +33 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 5 6 6 chunks +11 lines, -10 lines 0 comments Download
M ui/gfx/color_utils.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/color_utils.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
Evan Stade
+sky for review +tdanderson FYI because of the link color logic. This was the best ...
5 years, 2 months ago (2015-10-16 22:54:13 UTC) #2
tdanderson
On 2015/10/16 22:54:13, Evan Stade wrote: > +sky for review > +tdanderson FYI because of ...
5 years, 2 months ago (2015-10-19 14:38:39 UTC) #4
varkha
Thanks for the pointer. I'll build this locally to experiment with the looks. A couple ...
5 years, 2 months ago (2015-10-19 15:01:29 UTC) #5
sky
https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc (right): https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc#newcode39 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc:39: instructions_text += base::ASCIIToUTF16(" "); Why do you add a ...
5 years, 2 months ago (2015-10-19 15:38:40 UTC) #6
Evan Stade
+jshin in case he has insight into Scott's question https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc (right): https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc#newcode39 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc:39: ...
5 years, 2 months ago (2015-10-19 16:49:52 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408273002/40001
5 years, 2 months ago (2015-10-19 16:52:26 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/67019)
5 years, 2 months ago (2015-10-19 17:33:27 UTC) #13
sky
On 2015/10/19 16:49:52, Evan Stade wrote: > +jshin in case he has insight into Scott's ...
5 years, 2 months ago (2015-10-20 23:10:28 UTC) #14
Evan Stade
On 2015/10/20 23:10:28, sky wrote: > > Could you derive the padding from the font ...
5 years, 2 months ago (2015-10-21 04:18:15 UTC) #15
sky
My disdain for this approach is that you're adding unnecessary space with the hope that ...
5 years, 2 months ago (2015-10-21 20:43:26 UTC) #16
Evan Stade
On 2015/10/21 20:43:26, sky wrote: > My disdain for this approach is that you're adding ...
5 years, 2 months ago (2015-10-21 22:10:35 UTC) #17
sky
On Wed, Oct 21, 2015 at 3:10 PM, <estade@chromium.org> wrote: > On 2015/10/21 20:43:26, sky ...
5 years, 2 months ago (2015-10-21 23:04:52 UTC) #18
Evan Stade
On 2015/10/21 23:04:52, sky wrote: > I outlined them: > . You have to make ...
5 years, 2 months ago (2015-10-22 21:52:12 UTC) #19
jungshik at Google
https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc (right): https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc#newcode39 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc:39: instructions_text += base::ASCIIToUTF16(" "); On 2015/10/19 16:49:52, Evan Stade ...
5 years, 2 months ago (2015-10-23 06:30:19 UTC) #20
Evan Stade
On 2015/10/23 06:30:19, jshin (jungshik at g) wrote: > https://codereview.chromium.org/1408273002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc > File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc > (right): ...
5 years, 2 months ago (2015-10-23 17:01:19 UTC) #21
Evan Stade
ping sky for patchset 6.
5 years, 1 month ago (2015-10-26 22:29:07 UTC) #22
sky
Sorry, I must have forgot to hit send the other day. https://codereview.chromium.org/1408273002/diff/100001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc (right): ...
5 years, 1 month ago (2015-10-26 23:56:38 UTC) #23
Evan Stade
https://codereview.chromium.org/1408273002/diff/100001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc (right): https://codereview.chromium.org/1408273002/diff/100001/chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc#newcode27 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc:27: return views::Label(base::ASCIIToUTF16(" ")).GetPreferredSize().width(); On 2015/10/26 23:56:38, sky wrote: > ...
5 years, 1 month ago (2015-10-27 17:05:42 UTC) #24
sky
LGTM
5 years, 1 month ago (2015-10-27 21:10:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408273002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408273002/120001
5 years, 1 month ago (2015-10-27 21:12:16 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/58864)
5 years, 1 month ago (2015-10-27 21:51:41 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408273002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408273002/140001
5 years, 1 month ago (2015-10-28 00:59:34 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-10-28 02:26:11 UTC) #33
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 02:27:03 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e61501e21cce896426e724c047e2d7998e89b05e
Cr-Commit-Position: refs/heads/master@{#356496}

Powered by Google App Engine
This is Rietveld 408576698