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

Issue 2061353002: [Mac][Material Design] Fix regression with initial bookmark bar text. (Closed)

Created:
4 years, 6 months ago by shrike
Modified:
4 years, 6 months ago
Reviewers:
tapted
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

[Mac][Material Design] Fix regression with initial bookmark bar text. [Mac][Material Design] Fix regression with initial bookmark bar text. When you have an empty bookmarks bar, the bar displays a message about adding bookmarks. With the switch to Material Design and the addition of an NSVisualEffectView, the textfields' opaque ancestor was no longer opaque, messing up subpixel anti-aliasing. This cl changes the BookmarkBarToolbarView's isOpaque: method to always return YES. The BookmarkBarToolbarView was in fact always opaque, so returning YES is correct. Doing so causes the BookmarkBarToolbarView's to be the textfields' opaque ancestor, leading to correctly-drawn text. R=tapted@chromium.org BUG=617550, 617856 Committed: https://crrev.com/eadf1aa099669f7a232ee8deed94d5b9d2da14a8 Cr-Commit-Position: refs/heads/master@{#401391}

Patch Set 1 : Initial changes #

Total comments: 4

Patch Set 2 : Make -[BookmarkBarToolbarView isOpaque:] return YES #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
shrike
PTAL
4 years, 6 months ago (2016-06-14 22:48:23 UTC) #3
tapted
I played around a bit - I think I've nutted out the problem. First, I ...
4 years, 6 months ago (2016-06-15 02:09:04 UTC) #4
tapted
On 2016/06/15 02:09:04, tapted wrote: > I played around a bit - I think I've ...
4 years, 6 months ago (2016-06-15 02:58:18 UTC) #5
shrike
On 2016/06/15 02:58:18, tapted wrote: > On 2016/06/15 02:09:04, tapted wrote: > > I played ...
4 years, 6 months ago (2016-06-21 16:33:43 UTC) #6
tapted
On 2016/06/21 16:33:43, shrike wrote: > On 2016/06/15 02:58:18, tapted wrote: > > On 2016/06/15 ...
4 years, 6 months ago (2016-06-22 00:50:53 UTC) #7
tapted
ooh except the CL description should be updated :)
4 years, 6 months ago (2016-06-22 00:51:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061353002/20001
4 years, 6 months ago (2016-06-22 18:48:30 UTC) #11
shrike
On 2016/06/22 00:51:20, tapted wrote: > ooh except the CL description should be updated :) ...
4 years, 6 months ago (2016-06-22 18:50:11 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-22 20:33:41 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 20:36:50 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eadf1aa099669f7a232ee8deed94d5b9d2da14a8
Cr-Commit-Position: refs/heads/master@{#401391}

Powered by Google App Engine
This is Rietveld 408576698