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

Issue 1291763005: [MacViews] Use NSTitledWindowMask for window modal dialogs. (Closed)

Created:
5 years, 4 months ago by jackhou1
Modified:
5 years, 4 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MacViews] Use NSTitledWindowMask for window modal dialogs. -[NSApplication beginSheet:modalForWindow:...] doesn't seem to make the sheet modal if it has NSBorderlessWindowMask. Use NSTitledWindowMask for window modal widgets. The title is not drawn on sheets anyway. BUG=522359 Committed: https://crrev.com/4fd831b9c04682e0df42d4e6dba2155f0982312b Cr-Commit-Position: refs/heads/master@{#344421}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M ui/views/widget/native_widget_mac.mm View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
jackhou1
tapted, PTAL
5 years, 4 months ago (2015-08-19 07:17:14 UTC) #2
tapted
Nice find! I think we just need to check for null.. (hopefully an existing test ...
5 years, 4 months ago (2015-08-19 09:02:14 UTC) #3
jackhou1
> Nice find! I think we just need to check for null.. (hopefully an existing ...
5 years, 4 months ago (2015-08-20 00:01:36 UTC) #4
tapted
lgtm (+ a description nit: "modal" -> "window modal" in the summary lines) Thanks! https://codereview.chromium.org/1291763005/diff/20001/ui/views/widget/native_widget_mac.mm ...
5 years, 4 months ago (2015-08-20 00:23:10 UTC) #5
jackhou1
https://codereview.chromium.org/1291763005/diff/20001/ui/views/widget/native_widget_mac.mm File ui/views/widget/native_widget_mac.mm (right): https://codereview.chromium.org/1291763005/diff/20001/ui/views/widget/native_widget_mac.mm#newcode42 ui/views/widget/native_widget_mac.mm:42: // it has NSTitledWindowMask. (e.g. with NSBorderlessWindowMask. the parent ...
5 years, 4 months ago (2015-08-20 00:37:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1291763005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1291763005/40001
5 years, 4 months ago (2015-08-20 03:45:25 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-20 03:49:50 UTC) #10
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 03:50:40 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4fd831b9c04682e0df42d4e6dba2155f0982312b
Cr-Commit-Position: refs/heads/master@{#344421}

Powered by Google App Engine
This is Rietveld 408576698