 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1472023004:
    Updated DropdownBarHost to use Layer clipping instead of OnPaint() clipping.  (Closed)
    
  
    Issue 
            1472023004:
    Updated DropdownBarHost to use Layer clipping instead of OnPaint() clipping.  (Closed) 
  | DescriptionUpdated 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
Committed: https://crrev.com/ea9b0ba419a3598bdb7f7c62afdf4409afa73ab1
Cr-Commit-Position: refs/heads/master@{#361695}
   Patch Set 1 #
      Total comments: 11
      
     Patch Set 2 : Addressed comments from patch set 1. #
 Messages
    Total messages: 16 (7 generated)
     | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||