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

Issue 2296903002: [Mac] Fullscreen Toolbar Edge Cases (Closed)

Created:
4 years, 3 months ago by spqchan
Modified:
4 years, 3 months ago
Reviewers:
Robert Sesek, erikchen
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Fullscreen Toolbar Bar Visibility Edge Cases Fixed edge case for the toolbar visibility locks. BUG=641751, 641749 Committed: https://crrev.com/a431d992f7c15f070be18e6a51419c11445a785a Cr-Commit-Position: refs/heads/master@{#417799}

Patch Set 1 #

Patch Set 2 : one more thing #

Patch Set 3 : nits #

Total comments: 2

Patch Set 4 : Revert and made changes #

Patch Set 5 : slight cleanup #

Total comments: 6

Patch Set 6 : Fix for erikchen #

Patch Set 7 : Added comments #

Patch Set 8 : Fixed an edge case #

Total comments: 2

Patch Set 9 : fix for erikchen 3 #

Patch Set 10 : edge case #

Total comments: 6

Patch Set 11 : Fix for rsesek #

Patch Set 12 : Enum class #

Patch Set 13 : renamed it #

Total comments: 2

Patch Set 14 : menubar enum name change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -80 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +11 lines, -8 lines 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 2 chunks +2 lines, -2 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 5 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.mm View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +34 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +73 lines, -28 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
spqchan
More edge cases to fix. There were conflicting states between the visibility locks, animation and ...
4 years, 3 months ago (2016-08-30 23:21:15 UTC) #5
erikchen
My response became kind of huge. Let me know you want to talk in person. ...
4 years, 3 months ago (2016-08-30 23:46:48 UTC) #6
spqchan
On 2016/08/30 23:46:48, erikchen wrote: > My response became kind of huge. Let me know ...
4 years, 3 months ago (2016-08-30 23:49:16 UTC) #7
erikchen
On 2016/08/30 23:49:16, spqchan wrote: > On 2016/08/30 23:46:48, erikchen wrote: > > My response ...
4 years, 3 months ago (2016-08-31 00:27:17 UTC) #8
spqchan
On 2016/08/31 00:27:17, erikchen wrote: > On 2016/08/30 23:49:16, spqchan wrote: > > On 2016/08/30 ...
4 years, 3 months ago (2016-08-31 17:36:41 UTC) #9
spqchan
Alright, let me know what you think of this. If it looks fine, I'll clean ...
4 years, 3 months ago (2016-08-31 19:47:19 UTC) #11
erikchen
https://codereview.chromium.org/2296903002/diff/80001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm (right): https://codereview.chromium.org/2296903002/diff/80001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm#newcode282 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm:282: - (void)ensureOverlayShownWithAnimation:(BOOL)animate { I notice that this is also ...
4 years, 3 months ago (2016-08-31 20:19:50 UTC) #12
spqchan
Thanks for the discussion about redoing how the fullscreen layout works. I talked to shrike ...
4 years, 3 months ago (2016-09-07 19:46:48 UTC) #13
spqchan
Thanks for the discussion about redoing how the fullscreen layout works. I talked to shrike ...
4 years, 3 months ago (2016-09-07 19:46:52 UTC) #14
erikchen
https://codereview.chromium.org/2296903002/diff/140001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm (right): https://codereview.chromium.org/2296903002/diff/140001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm#newcode422 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm:422: return toolbarFractionFromMenuProgress_; I think that there is a logic ...
4 years, 3 months ago (2016-09-07 21:58:49 UTC) #15
spqchan
PTAL https://codereview.chromium.org/2296903002/diff/140001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm (right): https://codereview.chromium.org/2296903002/diff/140001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm#newcode422 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm:422: return toolbarFractionFromMenuProgress_; On 2016/09/07 21:58:49, erikchen wrote: > ...
4 years, 3 months ago (2016-09-08 01:49:41 UTC) #16
erikchen
lgtm
4 years, 3 months ago (2016-09-08 03:10:46 UTC) #17
spqchan
Thanks! +rsesek for OWNERS
4 years, 3 months ago (2016-09-08 16:45:29 UTC) #19
Robert Sesek
https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: enum MenubarState { Follow-up cleanup idea: drop the namespace ...
4 years, 3 months ago (2016-09-08 18:37:43 UTC) #20
spqchan
PTAL https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: enum MenubarState { On 2016/09/08 18:37:42, Robert Sesek ...
4 years, 3 months ago (2016-09-08 21:35:57 UTC) #21
spqchan
PTAL https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: enum MenubarState { On 2016/09/08 18:37:42, Robert Sesek ...
4 years, 3 months ago (2016-09-08 21:35:57 UTC) #22
Robert Sesek
https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: enum MenubarState { On 2016/09/08 21:35:57, spqchan wrote: > ...
4 years, 3 months ago (2016-09-08 22:40:02 UTC) #23
spqchan
On 2016/09/08 22:40:02, Robert Sesek wrote: > https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h > File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): > > https://codereview.chromium.org/2296903002/diff/180001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 ...
4 years, 3 months ago (2016-09-09 01:26:52 UTC) #24
Robert Sesek
LGTM https://codereview.chromium.org/2296903002/diff/240001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/240001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: MENUBAR_SHOWN, // Menubar is fully shown. optional: Drop ...
4 years, 3 months ago (2016-09-09 18:27:04 UTC) #25
spqchan
Thanks! https://codereview.chromium.org/2296903002/diff/240001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2296903002/diff/240001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode27 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:27: MENUBAR_SHOWN, // Menubar is fully shown. On 2016/09/09 ...
4 years, 3 months ago (2016-09-10 00:23:04 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2296903002/260001
4 years, 3 months ago (2016-09-10 00:23:43 UTC) #29
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 3 months ago (2016-09-10 02:07:12 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 02:09:07 UTC) #33
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/a431d992f7c15f070be18e6a51419c11445a785a
Cr-Commit-Position: refs/heads/master@{#417799}

Powered by Google App Engine
This is Rietveld 408576698