Chromium Code Reviews
DescriptionMacViews: Clip contents for non-rectangular windows.
Currently, default rectangular clipping is done on non-rectangular windows.
Hence for these windows, there is no way to prevent subviews from painting
outside the window boundary. To resolve this, this CL adds a mask layer to the
compositor_superview's layer in BridgedContentView. The path of the mask layer
corresponds to the window mask of the non-client frame view attached to the
widget.
BUG=581600
Patch Set 1 : #
Total comments: 20
Patch Set 2 : Addressed review comments. #
Total comments: 7
Patch Set 3 : Addressed review comments. #Patch Set 4 : Rebased. #Patch Set 5 : Modified components_tests.gyp #Patch Set 6 : Rebased #Patch Set 7 : #Patch Set 8 : Added a comment. #
Total comments: 3
Patch Set 9 : Add dependency to views_unittests. #Patch Set 10 : Add tests. #
Messages
Total messages: 21 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||