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

Issue 2833133003: views: disable ink drops altogether on Mac (Closed)

Created:
3 years, 8 months ago by Elly Fong-Jones
Modified:
3 years, 8 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

views: disable ink drops altogether on Mac These were previously disabled piecemeal using SetInkDropMode(), but that was not the right abstraction layer to disable them, because many other controls individually call SetInkDropMode() to customize their own behavior. Instead, disable it inside InkDropHostView. BUG=701888 Review-Url: https://codereview.chromium.org/2833133003 Cr-Commit-Position: refs/heads/master@{#466642} Committed: https://chromium.googlesource.com/chromium/src/+/5d32b67b86c16add90f6ac864d9741a959435ca1

Patch Set 1 #

Total comments: 1

Patch Set 2 : use InkDropStub #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M ui/views/animation/ink_drop_host_view.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M ui/views/controls/button/checkbox.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/controls/button/md_text_button.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Elly Fong-Jones
sky: ptal? :)
3 years, 8 months ago (2017-04-21 17:52:04 UTC) #3
bruthig
On 2017/04/21 17:52:04, Elly Fong-Jones wrote: > sky: ptal? :) I'm curious, is there any ...
3 years, 8 months ago (2017-04-21 18:03:09 UTC) #4
Elly Fong-Jones
On 2017/04/21 18:03:09, bruthig wrote: > On 2017/04/21 17:52:04, Elly Fong-Jones wrote: > > sky: ...
3 years, 8 months ago (2017-04-21 18:09:09 UTC) #5
bruthig
https://codereview.chromium.org/2833133003/diff/1/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (right): https://codereview.chromium.org/2833133003/diff/1/ui/views/animation/ink_drop_host_view.cc#newcode280 ui/views/animation/ink_drop_host_view.cc:280: ink_drop_ = base::MakeUnique<InkDropStub>(); I think it would be better ...
3 years, 8 months ago (2017-04-21 20:30:08 UTC) #7
sky
LGTM Grumble... Yet another sign that ink drop effects are integrated at the wrong level ...
3 years, 8 months ago (2017-04-21 21:08:35 UTC) #8
bruthig
nlgtm I don't understand how this approach is going to suppress the InkDropHighlight for mouse ...
3 years, 8 months ago (2017-04-21 21:23:15 UTC) #9
Elly Fong-Jones
On 2017/04/21 21:23:15, bruthig wrote: > nlgtm > > I don't understand how this approach ...
3 years, 8 months ago (2017-04-24 13:41:53 UTC) #10
bruthig
On 2017/04/24 13:41:53, Elly Fong-Jones wrote: > On 2017/04/21 21:23:15, bruthig wrote: > > nlgtm ...
3 years, 8 months ago (2017-04-24 13:58:02 UTC) #11
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/2833133003/20001
3 years, 8 months ago (2017-04-24 15:14:48 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/5d32b67b86c16add90f6ac864d9741a959435ca1
3 years, 8 months ago (2017-04-24 16:20:53 UTC) #17
findit-for-me
Findit(https://goo.gl/kROfz5) identified this CL at revision 466642 as the culprit for failures in the build ...
3 years, 8 months ago (2017-04-24 17:13:35 UTC) #18
Elly Fong-Jones
On 2017/04/24 17:13:35, findit-for-me wrote: > Findit(https://goo.gl/kROfz5) identified this CL at revision 466642 as the ...
3 years, 8 months ago (2017-04-24 17:21:01 UTC) #19
Elly Fong-Jones
3 years, 8 months ago (2017-04-24 17:34:42 UTC) #20
Message was sent while issue was closed.
On 2017/04/24 17:21:01, Elly Fong-Jones wrote:
> On 2017/04/24 17:13:35, findit-for-me wrote:
> > Findit(https://goo.gl/kROfz5) identified this CL at revision 466642 as the
> > culprit for
> > failures in the build cycles as shown on:
> >
>
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...
> 
> Findit is correct - I will put up a CL to fix this test breakage in a moment.

https://codereview.chromium.org/2835243002/ is the fix, TBR sky@ and sending to
cq :)

Powered by Google App Engine
This is Rietveld 408576698