DescriptionFix SetShape (SetAlphaShape) to allow Null regions (+ tests).
SetAlphaShape uses a filter to enforce min/max transparency on the window shape specified by the user. This transparency clamping is required by security to ship the SetShape feature.
We added the call to SetAlphaShape earlier, but we needed to temporarily remove it because of bugs with HiDPI devices and NULL shapes.
The issue with HiDPI devices has been fixed in crrev.com/394193003.
This cl fixes Null shape and re-adds the call to SetAlphaShape so that we can enable this feature on Stable.
BUG=324071
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288889
Patch Set 1 #Patch Set 2 : #
Total comments: 5
Patch Set 3 : Remove unnecessary if(region) #Patch Set 4 : Move SetAlphaShape into native_widget's SetShape #
Total comments: 4
Patch Set 5 : Add missing delete; Remove unnecessary layer check" #
Messages
Total messages: 11 (0 generated)
|