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

Issue 2016203002: Widget opacity goes from 0 to 1, not 0 to 255. (Closed)

Created:
4 years, 7 months ago by Peter Kasting
Modified:
4 years, 6 months ago
Reviewers:
danakj, vmpstr, sky, Matt Giuca
CC:
chromium-reviews, tfarina, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Widget opacity goes from 0 to 1, not 0 to 255. This change was made in r395980, but missed a lot of callsites. This also adds DCHECKs for this to the compositor in hopes of catching similar errors sooner in the future. These DCHECKs caught most of the places touched by this patch. BUG=610039 TEST=Trigger new backspace shortcut bubble; it should fade in and out, not flicker and mostly be white. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d28e06bee3c0807483aed283bafd4c6f72198961 Cr-Commit-Position: refs/heads/master@{#396590}

Patch Set 1 #

Patch Set 2 : Fix more problems #

Patch Set 3 : One more fix #

Patch Set 4 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -12 lines) Patch
M ash/drag_drop/drag_image_view.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ash/system/user/user_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/overview/window_grid.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/download/download_started_animation_views.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/new_back_shortcut_bubble.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/views/toast_contents_view.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 35 (12 generated)
Peter Kasting
mgiuca: c/b/ui/views vmpstr: cc/layers
4 years, 7 months ago (2016-05-27 03:28:45 UTC) #3
Matt Giuca
lgtm. Please change the CL description prefixing "NewBackShortcutBubble: ..." so it's clear that you're only ...
4 years, 7 months ago (2016-05-27 03:37:04 UTC) #4
Peter Kasting
On 2016/05/27 03:37:04, Matt Giuca wrote: > lgtm. > > Please change the CL description ...
4 years, 7 months ago (2016-05-27 03:46:53 UTC) #6
Matt Giuca
On 2016/05/27 03:46:53, Peter Kasting wrote: > On 2016/05/27 03:37:04, Matt Giuca wrote: > > ...
4 years, 6 months ago (2016-05-27 05:04:04 UTC) #7
Peter Kasting
+sky for OWNERS of various directories I'm now touching a lot more places (and will ...
4 years, 6 months ago (2016-05-27 06:05:01 UTC) #10
Matt Giuca
OK slgtm.
4 years, 6 months ago (2016-05-27 06:48:20 UTC) #11
sky
LGTM - I manually inspected all the sites and it seems you found them.
4 years, 6 months ago (2016-05-27 15:37:42 UTC) #12
vmpstr
cc lgtm
4 years, 6 months ago (2016-05-27 21:20:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016203002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016203002/40001
4 years, 6 months ago (2016-05-27 21:21:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/86519) chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-05-27 21:28:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016203002/60001
4 years, 6 months ago (2016-05-27 21:33:15 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-27 22:50:29 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/d28e06bee3c0807483aed283bafd4c6f72198961 Cr-Commit-Position: refs/heads/master@{#396590}
4 years, 6 months ago (2016-05-27 22:52:27 UTC) #25
Matt Giuca
On 2016/05/27 06:05:01, Peter Kasting wrote: > I didn't manually wrap to 72 cols. That ...
4 years, 6 months ago (2016-05-30 00:37:52 UTC) #26
danakj
On Thu, May 26, 2016 at 11:05 PM, <pkasting@chromium.org> wrote: > +sky for OWNERS of ...
4 years, 6 months ago (2016-05-31 20:11:38 UTC) #27
Peter Kasting
On 2016/05/31 20:11:38, danakj wrote: > On Thu, May 26, 2016 at 11:05 PM, <mailto:pkasting@chromium.org> ...
4 years, 6 months ago (2016-05-31 20:15:35 UTC) #28
danakj
On Tue, May 31, 2016 at 1:15 PM, <pkasting@chromium.org> wrote: > On 2016/05/31 20:11:38, danakj ...
4 years, 6 months ago (2016-05-31 20:22:35 UTC) #29
Peter Kasting
On Tue, May 31, 2016 at 1:22 PM, Dana Jansens <danakj@chromium.org> wrote: > I just ...
4 years, 6 months ago (2016-05-31 20:49:21 UTC) #30
danakj
On Tue, May 31, 2016 at 1:49 PM, Peter Kasting <pkasting@chromium.org> wrote: > On Tue, ...
4 years, 6 months ago (2016-05-31 21:18:54 UTC) #31
Matt Giuca
Hi, sorry to have started this long debate about something which, I agree, is not ...
4 years, 6 months ago (2016-06-01 00:42:35 UTC) #32
Peter Kasting
I didn't know about git cl description. I can't guarantee I'll remember it, but if ...
4 years, 6 months ago (2016-06-01 01:11:20 UTC) #33
Matt Giuca
On 2016/06/01 01:11:20, Peter Kasting wrote: > I didn't know about git cl description. I ...
4 years, 6 months ago (2016-06-01 01:14:32 UTC) #34
Peter Kasting
4 years, 6 months ago (2016-06-01 01:22:41 UTC) #35
Message was sent while issue was closed.
On 2016/06/01 01:14:32, Matt Giuca wrote:
> On 2016/06/01 01:11:20, Peter Kasting wrote:
> > I didn't know about git cl description.  I can't guarantee I'll remember it,
> but
> > if I do I'll try to use it.
> > 
> > Also, to correct myself (I hate being wrong): Rietveld doesn't use a
> > proportional font, it uses a fixed-width one, so doing this in-browser is
> easier
> > than I made out.
> > 
> > I think the reason I forget to wrap is because the default "edit issue"
> textbox
> > is very narrow.  Perhaps if this box were, say, 80 chars wide, it would make
> it
> > easier to remember to wrap and to actually do so.  It seems like changing
that
> > width ought not to be too hard for the infra folks.  Do you guys think this
> > would help?  If so I can try to file a bug in wherever the appropriate spot
> is.
> 
> Yeah that would help.

Cool, filed https://bugs.chromium.org/p/chromium/issues/detail?id=616325 .

Powered by Google App Engine
This is Rietveld 408576698