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

Issue 1109493002: [MacViews] Fix behavior of non-resizable windows in fullscreen. (Closed)

Created:
5 years, 8 months ago by jackhou1
Modified:
5 years, 7 months ago
Reviewers:
tapted, Nico
CC:
chromium-reviews, tfarina, 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] Fix behavior of non-resizable windows in fullscreen. They should take up the entire screen, and the fullscreen button must be enabled to allow the user to leave. This also factors out NSWindowFullscreenNotificationWaiter. BUG=459877 Committed: https://crrev.com/72ff2bb4c27bc5fdfe4f3c2ecd5f5a6c939901f8 Cr-Commit-Position: refs/heads/master@{#330704}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Sync and rebase #

Patch Set 3 : Address comments. #

Total comments: 8

Patch Set 4 : Address comments. #

Patch Set 5 : Don't build nswindow_fullscreen_notification_waiter.mm on IOS. #

Total comments: 4

Patch Set 6 : Update GN. #

Patch Set 7 : Sync and rebase #

Patch Set 8 : Move nswindow_fullscreen_notification_waiter to ui/gfx/test #

Patch Set 9 : Exclude from IOS. #

Patch Set 10 : Revert to Patch Set 7 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -113 lines) Patch
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 1 2 3 4 5 6 8 9 13 chunks +33 lines, -14 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 3 4 5 6 8 9 1 chunk +2 lines, -0 lines 0 comments Download
A ui/base/test/nswindow_fullscreen_notification_waiter.h View 1 2 8 9 1 chunk +36 lines, -0 lines 0 comments Download
A ui/base/test/nswindow_fullscreen_notification_waiter.mm View 1 2 8 9 1 chunk +71 lines, -0 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 6 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 5 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/cocoa/bridged_native_widget.mm View 1 2 3 4 5 6 4 chunks +18 lines, -9 lines 0 comments Download
M ui/views/cocoa/bridged_native_widget_interactive_uitest.mm View 1 2 8 9 3 chunks +7 lines, -90 lines 0 comments Download
M ui/views/cocoa/views_nswindow_delegate.mm View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
jackhou1
tapted, what do you think? https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm File chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm (right): https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode305 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:305: EXPECT_FALSE([ns_window collectionBehavior] & This ...
5 years, 8 months ago (2015-04-24 07:03:01 UTC) #2
tapted
https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm File chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm (right): https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode305 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:305: EXPECT_FALSE([ns_window collectionBehavior] & On 2015/04/24 07:03:01, jackhou1 (OOO until ...
5 years, 7 months ago (2015-05-06 06:20:42 UTC) #3
jackhou1
https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm File chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm (right): https://codereview.chromium.org/1109493002/diff/1/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode305 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:305: EXPECT_FALSE([ns_window collectionBehavior] & On 2015/05/06 06:20:41, tapted wrote: > ...
5 years, 7 months ago (2015-05-13 04:27:53 UTC) #4
tapted
https://codereview.chromium.org/1109493002/diff/40001/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm (left): https://codereview.chromium.org/1109493002/diff/40001/ui/views/cocoa/bridged_native_widget.mm#oldcode377 ui/views/cocoa/bridged_native_widget.mm:377: DCHECK_NE(target_fullscreen_state, target_fullscreen_state_); I think we can keep this.... see ...
5 years, 7 months ago (2015-05-13 06:12:42 UTC) #5
jackhou1
https://codereview.chromium.org/1109493002/diff/40001/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm (left): https://codereview.chromium.org/1109493002/diff/40001/ui/views/cocoa/bridged_native_widget.mm#oldcode377 ui/views/cocoa/bridged_native_widget.mm:377: DCHECK_NE(target_fullscreen_state, target_fullscreen_state_); On 2015/05/13 06:12:42, tapted wrote: > I ...
5 years, 7 months ago (2015-05-13 06:53:10 UTC) #6
tapted
lgtm with gn changes https://codereview.chromium.org/1109493002/diff/80001/ui/base/ui_base.gyp File ui/base/ui_base.gyp (right): https://codereview.chromium.org/1109493002/diff/80001/ui/base/ui_base.gyp#newcode673 ui/base/ui_base.gyp:673: 'test/nswindow_fullscreen_notification_waiter.mm', You'll need a .gn ...
5 years, 7 months ago (2015-05-13 07:26:35 UTC) #7
jackhou1
https://codereview.chromium.org/1109493002/diff/80001/ui/base/ui_base.gyp File ui/base/ui_base.gyp (right): https://codereview.chromium.org/1109493002/diff/80001/ui/base/ui_base.gyp#newcode673 ui/base/ui_base.gyp:673: 'test/nswindow_fullscreen_notification_waiter.mm', On 2015/05/13 07:26:34, tapted wrote: > You'll need ...
5 years, 7 months ago (2015-05-14 04:38:34 UTC) #9
jackhou1
thakis, please review for OWNERS: *.gyp *.gn ui/base/test/* All related to factoring out NSWindowFullscreenNotificationWaiter.
5 years, 7 months ago (2015-05-14 04:46:30 UTC) #11
Nico
Sorry, this fell through the cracks. Could the thing in base/test be somewhere in ui/ ...
5 years, 7 months ago (2015-05-15 21:28:09 UTC) #12
jackhou1
On 2015/05/15 21:28:09, Nico wrote: > Sorry, this fell through the cracks. > > Could ...
5 years, 7 months ago (2015-05-18 04:30:24 UTC) #13
Nico
On 2015/05/18 04:30:24, jackhou1 wrote: > On 2015/05/15 21:28:09, Nico wrote: > > Sorry, this ...
5 years, 7 months ago (2015-05-19 00:25:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109493002/200001
5 years, 7 months ago (2015-05-20 06:00:09 UTC) #17
commit-bot: I haz the power
Committed patchset #10 (id:200001)
5 years, 7 months ago (2015-05-20 06:47:33 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 06:48:21 UTC) #19
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/72ff2bb4c27bc5fdfe4f3c2ecd5f5a6c939901f8
Cr-Commit-Position: refs/heads/master@{#330704}

Powered by Google App Engine
This is Rietveld 408576698