Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Issue 307843002: Always set NSTexturedBackgroundWindowMask on app windows. (Closed)

Created:
6 years, 6 months ago by jackhou1
Modified:
6 years, 6 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Always 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -14 lines) Patch
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm View 1 4 chunks +6 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jackhou1
6 years, 6 months ago (2014-05-29 02:48:00 UTC) #1
tapted
lgtm https://codereview.chromium.org/307843002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm File chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm (right): https://codereview.chromium.org/307843002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm#newcode250 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm:250: - (void)drawCustomFrameRect:(NSRect)rect forView:(NSView*)view; I'd move this up into ...
6 years, 6 months ago (2014-05-29 03:35:28 UTC) #2
jackhou1
https://codereview.chromium.org/307843002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm File chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm (right): https://codereview.chromium.org/307843002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm#newcode250 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm:250: - (void)drawCustomFrameRect:(NSRect)rect forView:(NSView*)view; On 2014/05/29 03:35:28, tapted wrote: > ...
6 years, 6 months ago (2014-05-29 04:09:39 UTC) #3
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-05-29 04:09:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/307843002/1
6 years, 6 months ago (2014-05-29 04:11:30 UTC) #5
jackhou1
The CQ bit was unchecked by jackhou@chromium.org
6 years, 6 months ago (2014-05-29 05:12:47 UTC) #6
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-05-29 05:15:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/307843002/20001
6 years, 6 months ago (2014-05-29 05:15:54 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 08:26:35 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 09:06:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/157910)
6 years, 6 months ago (2014-05-29 09:06:18 UTC) #11
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-05-30 00:42:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/307843002/20001
6 years, 6 months ago (2014-05-30 00:45:30 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-30 01:04:05 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 02:27:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158171)
6 years, 6 months ago (2014-05-30 02:27:44 UTC) #16
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-05-30 03:49:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/307843002/20001
6 years, 6 months ago (2014-05-30 03:51:19 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 10:15:06 UTC) #19
Message was sent while issue was closed.
Change committed as 273781

Powered by Google App Engine
This is Rietveld 408576698