DescriptionUse the same shadow for the Android NTP fakebox than for the top omnibox.
Because it's a nine-patch, this ensures the shadow will be visible when drawing into a bitmap (which disables hardware rendering). It also allows drawing the shadow pre-L.
Screenshot: http://i.imgur.com/dro1OQ7.png
BUG=613088
Committed: https://crrev.com/204f8d869de0afed17f9d7ddd2a8326e449e5ffc
Cr-Commit-Position: refs/heads/master@{#397121}
Patch Set 1 #Patch Set 2 : Move ShadowDrawableWrapper to chrome/ #Patch Set 3 : cleanup #Patch Set 4 : comment #Patch Set 5 : import #Patch Set 6 : use textbox 9-patch #Patch Set 7 : fix #Patch Set 8 : fix #
Total comments: 9
Patch Set 9 : review #
Total comments: 2
Patch Set 10 : comment #
Messages
Total messages: 22 (9 generated)
|