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

Issue 280483004: [Mac] Update fullscreen state when window is fullscreened natively. (Closed)

Created:
6 years, 7 months ago by jackhou1
Modified:
6 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

[Mac] Update fullscreen state when window is fullscreened natively. This calls OnNativeWindowChanged when the window enters or exits fullscreen. It also redundantly calls AppWindow::OSFullscreen and AppWindow::Restore to get the AppWindow to update it's internal state. BUG=372301 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270904

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 12

Patch Set 3 : Address comments #

Total comments: 2

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -9 lines) Patch
M apps/app_window.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm View 3 chunks +17 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 1 2 3 2 chunks +118 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jackhou1
6 years, 7 months ago (2014-05-12 07:10:17 UTC) #1
tapted
Following on from our discussion - I think the extra state is OK, and likely ...
6 years, 7 months ago (2014-05-13 01:14:47 UTC) #2
jackhou1
On 2014/05/13 01:14:47, tapted wrote: > Following on from our discussion - I think the ...
6 years, 7 months ago (2014-05-15 06:15:03 UTC) #3
tapted
You'll probably still need the notification, but can you use the ~"disable window resize" stuff ...
6 years, 7 months ago (2014-05-15 06:39:20 UTC) #4
jackhou1
https://codereview.chromium.org/280483004/diff/20001/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/280483004/diff/20001/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode129 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:129: On 2014/05/15 06:39:20, tapted wrote: > #endif here Done. ...
6 years, 7 months ago (2014-05-15 07:15:28 UTC) #5
tapted
https://codereview.chromium.org/280483004/diff/20001/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/280483004/diff/20001/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode198 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:198: [watcher waitForNotification]; On 2014/05/15 07:15:29, jackhou1 wrote: > On ...
6 years, 7 months ago (2014-05-15 07:44:40 UTC) #6
jackhou1
https://codereview.chromium.org/280483004/diff/30001/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/280483004/diff/30001/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm#newcode181 chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm:181: EXPECT_FALSE(app_window->fullscreen_types_for_test()); On 2014/05/15 07:44:40, tapted wrote: > nit: EXPECT_EQ(0, ...
6 years, 7 months ago (2014-05-15 08:05:03 UTC) #7
tapted
sweet! - lgtm
6 years, 7 months ago (2014-05-15 08:06:28 UTC) #8
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 7 months ago (2014-05-15 08:07:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/280483004/50001
6 years, 7 months ago (2014-05-15 08:08:03 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 11:32:09 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 14:00:46 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/16314)
6 years, 7 months ago (2014-05-15 14:00:47 UTC) #13
tapted
On 2014/05/15 14:00:47, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-05-16 00:27:07 UTC) #14
tapted
The CQ bit was checked by tapted@chromium.org
6 years, 7 months ago (2014-05-16 00:27:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/280483004/50001
6 years, 7 months ago (2014-05-16 00:27:28 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 02:29:38 UTC) #17
Message was sent while issue was closed.
Change committed as 270904

Powered by Google App Engine
This is Rietveld 408576698