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

Issue 1915983009: Fixed material design ink drop location for the MD download shelf buttons. (Closed)

Created:
4 years, 7 months ago by bruthig
Modified:
4 years, 7 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews, asanka, tfarina, dcheng, bruthig+ink_drop_chromium.org, noyau+watch_chromium.org, dbeam+watch-downloads_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed material design ink drop location for the MD download shelf buttons. A recent regression caused the clip bounds for the FloodFillInkDropAnimation to incorrectly be centered on the click point for the DownloadItemViewMd buttons. This change fixes that and suppresses the ripple for right clicks on the DownloadItemViewMd as well. BUG=603818 TEST=manual Committed: https://crrev.com/5bb27fbab45e1534e353ec3e8e9ab7a57c7a35d4 Cr-Commit-Position: refs/heads/master@{#390347}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed InkDropHover ctor. #

Total comments: 4

Patch Set 3 : "Removed FloodFillInkDropAnimation ctor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -34 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 4 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/download/download_item_view_md.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M ui/views/animation/flood_fill_ink_drop_animation.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/animation/flood_fill_ink_drop_animation.cc View 1 2 3 chunks +12 lines, -16 lines 0 comments Download
M ui/views/animation/ink_drop_animation_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
bruthig
estade@, can you take a first look?
4 years, 7 months ago (2016-04-27 20:37:52 UTC) #2
Evan Stade
https://codereview.chromium.org/1915983009/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/1915983009/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode252 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:252: CalculateInkDropBounds(size()), 0, GetInkDropBaseColor())); Do we need the new InkDropHover ...
4 years, 7 months ago (2016-04-27 23:10:45 UTC) #3
bruthig
estade@, PTAL https://codereview.chromium.org/1915983009/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): https://codereview.chromium.org/1915983009/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc#newcode252 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc:252: CalculateInkDropBounds(size()), 0, GetInkDropBaseColor())); On 2016/04/27 23:10:44, Evan ...
4 years, 7 months ago (2016-04-27 23:36:28 UTC) #4
Evan Stade
https://codereview.chromium.org/1915983009/diff/20001/ui/views/animation/flood_fill_ink_drop_animation.cc File ui/views/animation/flood_fill_ink_drop_animation.cc (right): https://codereview.chromium.org/1915983009/diff/20001/ui/views/animation/flood_fill_ink_drop_animation.cc#newcode113 ui/views/animation/flood_fill_ink_drop_animation.cc:113: : FloodFillInkDropAnimation(gfx::Rect(size), center_point, color) {} It looks like you ...
4 years, 7 months ago (2016-04-27 23:51:22 UTC) #5
bruthig
estade@, PTAL https://codereview.chromium.org/1915983009/diff/20001/ui/views/animation/flood_fill_ink_drop_animation.cc File ui/views/animation/flood_fill_ink_drop_animation.cc (right): https://codereview.chromium.org/1915983009/diff/20001/ui/views/animation/flood_fill_ink_drop_animation.cc#newcode113 ui/views/animation/flood_fill_ink_drop_animation.cc:113: : FloodFillInkDropAnimation(gfx::Rect(size), center_point, color) {} On 2016/04/27 ...
4 years, 7 months ago (2016-04-28 00:04:40 UTC) #6
Evan Stade
lgtm
4 years, 7 months ago (2016-04-28 00:08:44 UTC) #7
bruthig
sky@, can you PTAL?
4 years, 7 months ago (2016-04-28 00:13:04 UTC) #9
sky
LGT
4 years, 7 months ago (2016-04-28 02:37:20 UTC) #10
sky
Make that LGTM
4 years, 7 months ago (2016-04-28 02:37:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915983009/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915983009/40001
4 years, 7 months ago (2016-04-28 11:34:57 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 11:39:26 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:17:31 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5bb27fbab45e1534e353ec3e8e9ab7a57c7a35d4
Cr-Commit-Position: refs/heads/master@{#390347}

Powered by Google App Engine
This is Rietveld 408576698