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

Issue 2839953005: Round the corners of bookmark button ink drop effects. (Closed)

Created:
3 years, 7 months ago by Evan Stade
Modified:
3 years, 7 months ago
Reviewers:
sky, bruthig
CC:
chromium-reviews, tfarina, bruthig+ink_drop_chromium.org, dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Round the corners of bookmark button ink drop effects. This applies to Linux and Chrome OS (and Mac Views) until 713359 is fixed. BUG=602756, 713359 Review-Url: https://codereview.chromium.org/2839953005 Cr-Commit-Position: refs/heads/master@{#468090} Committed: https://chromium.googlesource.com/chromium/src/+/6fe9396d6935924e6bff4345269293ed3ffd430e

Patch Set 1 #

Patch Set 2 : no windows #

Total comments: 4

Patch Set 3 : couple of fixes #

Patch Set 4 : rearrange #

Total comments: 5

Patch Set 5 : move macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -8 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 2 3 4 4 chunks +14 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_host_view.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/animation/ink_drop_host_view.cc View 1 2 3 4 2 chunks +14 lines, -3 lines 0 comments Download
M ui/views/animation/ink_drop_mask.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/animation/ink_drop_mask.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
Evan Stade
3 years, 7 months ago (2017-04-26 20:16:28 UTC) #3
bruthig
https://codereview.chromium.org/2839953005/diff/20001/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (left): https://codereview.chromium.org/2839953005/diff/20001/ui/views/animation/ink_drop_host_view.cc#oldcode137 ui/views/animation/ink_drop_host_view.cc:137: ink_drop_layer->SetMaskLayer(ink_drop_mask_->layer()); Did you mean to replace lines 135-137 with ...
3 years, 7 months ago (2017-04-26 20:45:40 UTC) #6
Evan Stade
https://codereview.chromium.org/2839953005/diff/20001/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (left): https://codereview.chromium.org/2839953005/diff/20001/ui/views/animation/ink_drop_host_view.cc#oldcode137 ui/views/animation/ink_drop_host_view.cc:137: ink_drop_layer->SetMaskLayer(ink_drop_mask_->layer()); On 2017/04/26 20:45:40, bruthig wrote: > Did you ...
3 years, 7 months ago (2017-04-26 21:18:37 UTC) #7
Evan Stade
updated, ptal
3 years, 7 months ago (2017-04-27 18:56:12 UTC) #10
bruthig
lgtm https://codereview.chromium.org/2839953005/diff/60001/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (right): https://codereview.chromium.org/2839953005/diff/60001/ui/views/animation/ink_drop_host_view.cc#newcode148 ui/views/animation/ink_drop_host_view.cc:148: ink_drop_mask_.reset(); nit: Should this call ResetInkDropMask()?
3 years, 7 months ago (2017-04-27 20:22:45 UTC) #11
Evan Stade
+sky, ptal https://codereview.chromium.org/2839953005/diff/60001/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (right): https://codereview.chromium.org/2839953005/diff/60001/ui/views/animation/ink_drop_host_view.cc#newcode148 ui/views/animation/ink_drop_host_view.cc:148: ink_drop_mask_.reset(); On 2017/04/27 20:22:45, bruthig wrote: > ...
3 years, 7 months ago (2017-04-27 20:27:49 UTC) #13
sky
https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode383 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:383: #if !defined(OS_WIN) Are we generally doing ifdefs for this? ...
3 years, 7 months ago (2017-04-27 22:32:04 UTC) #18
Evan Stade
https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode383 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:383: #if !defined(OS_WIN) On 2017/04/27 22:32:04, sky wrote: > Are ...
3 years, 7 months ago (2017-04-27 22:36:31 UTC) #19
sky
https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode383 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:383: #if !defined(OS_WIN) On 2017/04/27 22:36:31, Evan Stade wrote: > ...
3 years, 7 months ago (2017-04-27 22:54:09 UTC) #20
Evan Stade
On 2017/04/27 22:54:09, sky wrote: > https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc > File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): > > https://codereview.chromium.org/2839953005/diff/60001/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode383 > ...
3 years, 7 months ago (2017-04-28 01:49:21 UTC) #21
sky
LGTM - assuming InkDropHostView::InstallInkDropMask() for the windows case doesn't leak.
3 years, 7 months ago (2017-04-28 17:24:44 UTC) #26
Evan Stade
On 2017/04/28 17:24:44, sky wrote: > LGTM - assuming InkDropHostView::InstallInkDropMask() for the windows case > ...
3 years, 7 months ago (2017-04-28 18:39:56 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2839953005/80001
3 years, 7 months ago (2017-04-28 18:41:25 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/6fe9396d6935924e6bff4345269293ed3ffd430e
3 years, 7 months ago (2017-04-28 19:27:36 UTC) #35
sky
Sorry for not being clear. The Layer that is passed to InkDropHostView::InstallInkDropMask. On Fri, Apr ...
3 years, 7 months ago (2017-04-28 21:59:26 UTC) #36
Evan Stade
3 years, 7 months ago (2017-04-28 22:15:36 UTC) #37
Message was sent while issue was closed.
On 2017/04/28 21:59:26, sky wrote:
> Sorry for not being clear. The Layer that is passed
> to InkDropHostView::InstallInkDropMask.

yea, not leaking. That param is a weak reference.

Powered by Google App Engine
This is Rietveld 408576698