DescriptionAlways set NSTexturedBackgroundWindowMask on app windows.
This is consistent with FramedBrowserWindow.
This also skips drawing the frame of frameless windows.
On OSX 10.7, if NSTexturedBackgroundWindowMask is set, NSGrayFrame is
used to draw the frame. If not, NSThemeFrame is used. Since we swizzle
drawing methods on NSGrayFrame on 10.7, the app windows should all use
NSGrayFrame.
BUG=378581
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273781
Patch Set 1 #
Total comments: 4
Patch Set 2 : Don't re-declare drawCustomFrameRect #
Messages
Total messages: 19 (0 generated)
|