DescriptionClip the header of ash windows to the frame height
Anything painted below the frame are becomes visible if the app enables
the transparent background feature.
For lack of a better way to compute the actual frame height, we clip the
drawing to the height of the close button.
I think ScopedCanvas would come useful here, but it's currently private
to view.cc. If it seems a good idea, I could move it to canvas.h.
BUG=152838
TEST=visually confirmed with patch for bug 125295 applied
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173823
Patch Set 1 #Patch Set 2 : First try #Patch Set 3 : Move clipping code up to BrowserNonClientFrameViewAsh #Patch Set 4 : ClipClip frame of CustomFrameViewAsh rather than BrowserNonClientFrameViewAsh #Patch Set 5 : Rebase #Messages
Total messages: 16 (0 generated)
|