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

Issue 1387473002: Switch HTML5 Fullscreen Over to AppKit (Closed)

Created:
5 years, 2 months ago by spqchan
Modified:
5 years, 2 months ago
Reviewers:
Robert Sesek, erikchen
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Made changes so that the transition to HTML5 fullscreen uses AppKit instead of Immersive in 10.10+. A flag |blockLayoutSubviews_| is implemented to prevent spurious resize messages from being sent during the transition. BUG=519763 Committed: https://crrev.com/2a09e4bff1e12bd7ea8d572709878f5de7c406f8 Cr-Commit-Position: refs/heads/master@{#353166}

Patch Set 1 #

Patch Set 2 : Made a lot of improvements #

Patch Set 3 : Removed some changes #

Patch Set 4 : Remove more changes #

Patch Set 5 : Removed the changes to browser fullscreen transition and render_widget.cc #

Patch Set 6 : Made a fix with the bubble #

Patch Set 7 : Fix some things #

Patch Set 8 : Make a few more fixes #

Patch Set 9 : Remove unwanted comments #

Patch Set 10 : Added comments and missing lines #

Patch Set 11 : Fixed a couple of comments #

Patch Set 12 : Added missing line #

Total comments: 8

Patch Set 13 : Fixed some issues #

Patch Set 14 : Fix more things #

Total comments: 2

Patch Set 15 : Add some comments #

Patch Set 16 : Added a missing period #

Total comments: 7

Patch Set 17 : Remove extra condition #

Patch Set 18 : Rename AutoReset variables #

Total comments: 2

Patch Set 19 : Remove underscores #

Patch Set 20 : Add check for 10.10+ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -18 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 8 chunks +50 lines, -17 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
spqchan
PTAL
5 years, 2 months ago (2015-10-07 20:41:46 UTC) #2
erikchen
https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1970 chrome/browser/ui/cocoa/browser_window_controller.mm:1970: [self exitAppKitFullscreen]; I'm confused - should this be enterAppKitFullscreen? ...
5 years, 2 months ago (2015-10-07 21:51:03 UTC) #3
spqchan
PTAL https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1970 chrome/browser/ui/cocoa/browser_window_controller.mm:1970: [self exitAppKitFullscreen]; On 2015/10/07 21:51:03, erikchen wrote: > ...
5 years, 2 months ago (2015-10-07 22:54:01 UTC) #4
erikchen
https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1970 chrome/browser/ui/cocoa/browser_window_controller.mm:1970: [self exitAppKitFullscreen]; On 2015/10/07 22:54:01, spqchan wrote: > On ...
5 years, 2 months ago (2015-10-07 23:17:53 UTC) #5
spqchan
https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/220001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1970 chrome/browser/ui/cocoa/browser_window_controller.mm:1970: [self exitAppKitFullscreen]; On 2015/10/07 23:17:53, erikchen wrote: > On ...
5 years, 2 months ago (2015-10-07 23:53:26 UTC) #6
erikchen
lgtm
5 years, 2 months ago (2015-10-07 23:57:41 UTC) #7
spqchan
+rsesek
5 years, 2 months ago (2015-10-08 00:01:50 UTC) #9
spqchan
+rsesek
5 years, 2 months ago (2015-10-08 00:01:53 UTC) #10
Robert Sesek
https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1971 chrome/browser/ui/cocoa/browser_window_controller.mm:1971: if (chrome::mac::SupportsSystemFullscreen() && base::mac::IsOSLionOrLater()) Is the condition after && ...
5 years, 2 months ago (2015-10-08 15:21:22 UTC) #11
spqchan
PTAL https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode1971 chrome/browser/ui/cocoa/browser_window_controller.mm:1971: if (chrome::mac::SupportsSystemFullscreen() && base::mac::IsOSLionOrLater()) On 2015/10/08 15:21:22, Robert ...
5 years, 2 months ago (2015-10-08 16:54:28 UTC) #12
Robert Sesek
https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/1387473002/diff/300001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode1168 chrome/browser/ui/cocoa/browser_window_controller_private.mm:1168: base::AutoReset<BOOL> auto_reset_in_run(&blockLayoutSubviews_, NO); On 2015/10/08 16:54:28, spqchan wrote: > ...
5 years, 2 months ago (2015-10-08 17:02:42 UTC) #13
spqchan
PTAL
5 years, 2 months ago (2015-10-08 17:11:43 UTC) #14
Robert Sesek
https://codereview.chromium.org/1387473002/diff/340001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/1387473002/diff/340001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode1168 chrome/browser/ui/cocoa/browser_window_controller_private.mm:1168: base::AutoReset<BOOL> auto_reset(&blockLayoutSubviews_, NO); naming: autoReset. No underscores in ObjC ...
5 years, 2 months ago (2015-10-08 17:17:11 UTC) #15
spqchan
PTAL https://codereview.chromium.org/1387473002/diff/340001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/1387473002/diff/340001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode1168 chrome/browser/ui/cocoa/browser_window_controller_private.mm:1168: base::AutoReset<BOOL> auto_reset(&blockLayoutSubviews_, NO); On 2015/10/08 17:17:10, Robert Sesek ...
5 years, 2 months ago (2015-10-08 17:23:26 UTC) #16
Robert Sesek
LGTM
5 years, 2 months ago (2015-10-08 17:28:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387473002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387473002/360001
5 years, 2 months ago (2015-10-08 17:30:07 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/123881)
5 years, 2 months ago (2015-10-08 18:37:10 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387473002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387473002/380001
5 years, 2 months ago (2015-10-08 21:46:05 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-08 22:43:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387473002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387473002/380001
5 years, 2 months ago (2015-10-08 22:58:22 UTC) #29
commit-bot: I haz the power
Committed patchset #20 (id:380001)
5 years, 2 months ago (2015-10-08 23:08:23 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 23:09:08 UTC) #31
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/2a09e4bff1e12bd7ea8d572709878f5de7c406f8
Cr-Commit-Position: refs/heads/master@{#353166}

Powered by Google App Engine
This is Rietveld 408576698