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

Issue 1545023002: Relanding fix from ea9b0ba419a3598bdb7f7c62afdf4409afa73ab1 (Closed)

Created:
5 years ago by bruthig
Modified:
5 years ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Relanding fix from ea9b0ba419a3598bdb7f7c62afdf4409afa73ab1 This fix got reverted by accident in 502a5c9660bfd1c2ac949e4388bc8697d06b5507 TBR=pkasting Original fix description: Updated DropdownBarHost to use Layer clipping instead of OnPaint() clipping. The Material Design ink drop ripple was recently applied to the material design find in page dialog (https://codereview.chromium.org/1396903003). This change required that some Views to paint to layers unfortunately the clipping mechanism used for the find in page bar only applied to the OnPaint() methods and did not work to clip layer trees. This CL sets the contents view for the DropdownBarHost::widget_ to be a new clipping view, and the FindBarView is added as a child to the clipping view instead of as the DropdownBarHost::widget_'s contents view. This CL has the added benefit that the the drop down bars will not need to be repainted anymore for each animation frame. TEST=Open the find in page bar with material design turned on. Click and hold on the close button so the ink drop ripple is visible. Hit the Esc key to dismiss the dialog. The back button/ripple should not appear over top of the toolbar and should be clipped at the same horizontal line as the rest of the dialog. BUG=549621 Review URL: https://codereview.chromium.org/1472023004 Cr-Commit-Position: refs/heads/master@{#361695} Committed: https://crrev.com/411c95ff5cd0aa903d812765b22d348bb9f5f4d1 Cr-Commit-Position: refs/heads/master@{#366767}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -104 lines) Patch
M chrome/browser/ui/views/dropdown_bar_host.h View 3 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_host.cc View 6 chunks +30 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_host_delegate.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_view.h View 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/dropdown_bar_view.cc View 2 chunks +1 line, -32 lines 0 comments Download
M chrome/browser/ui/views/find_bar_host.cc View 1 chunk +2 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 3 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545023002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545023002/1
5 years ago (2015-12-23 19:43:33 UTC) #3
bruthig
pkasting@, I marked you as TBR on this one so take a look if you ...
5 years ago (2015-12-23 19:43:45 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-23 20:35:45 UTC) #7
commit-bot: I haz the power
5 years ago (2015-12-23 20:36:53 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/411c95ff5cd0aa903d812765b22d348bb9f5f4d1
Cr-Commit-Position: refs/heads/master@{#366767}

Powered by Google App Engine
This is Rietveld 408576698