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

Issue 2467833003: [Mac] Move the fullscreen toolbar style to FullscreenToolbarController (Closed)

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

Description

[Mac] Move the fullscreen toolbar style code into FullscreenToolbarController - No intended behavioral changes. - Renamed "FullscreenSlidingStyle" to "FullscreenToolbarStyle" and moved the logic into FullscreenToolbarController BUG=643418 Committed: https://crrev.com/3c5b671d18c00040c5313257a619a197d4a7daaa Cr-Commit-Position: refs/heads/master@{#429979}

Patch Set 1 #

Patch Set 2 : Updated comments and fixed tests #

Total comments: 6

Patch Set 3 : Fix for erikchen #

Patch Set 4 : update comment #

Patch Set 5 : Fix for erikchen 2 #

Patch Set 6 : Fixed test #

Patch Set 7 : nit #

Total comments: 4

Patch Set 8 : fix for rsesek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -207 lines) Patch
M chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 5 chunks +4 lines, -20 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 chunks +10 lines, -27 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm View 1 6 4 chunks +6 lines, -28 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 2 chunks +0 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 6 chunks +28 lines, -60 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout.mm View 1 3 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_layout_unittest.mm View 1 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 4 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm View 1 2 3 4 9 chunks +32 lines, -16 lines 0 comments Download

Messages

Total messages: 46 (32 generated)
spqchan
PTAL
4 years, 1 month ago (2016-11-01 23:58:53 UTC) #13
erikchen
https://codereview.chromium.org/2467833003/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2467833003/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode782 chrome/browser/ui/cocoa/browser_window_controller_private.mm:782: if (![self isInAnyFullscreenMode]) Should this be a DCHECK? How ...
4 years, 1 month ago (2016-11-02 00:25:37 UTC) #14
spqchan
PTAL https://codereview.chromium.org/2467833003/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2467833003/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode782 chrome/browser/ui/cocoa/browser_window_controller_private.mm:782: if (![self isInAnyFullscreenMode]) On 2016/11/02 00:25:36, erikchen wrote: ...
4 years, 1 month ago (2016-11-02 20:00:28 UTC) #21
erikchen
What's the benefit of keeping around the FullscreenToolbarController when the window is not fullscreen? A ...
4 years, 1 month ago (2016-11-02 20:07:09 UTC) #22
spqchan
On 2016/11/02 20:07:09, erikchen wrote: > What's the benefit of keeping around the FullscreenToolbarController when ...
4 years, 1 month ago (2016-11-02 20:20:39 UTC) #23
spqchan
PTAL
4 years, 1 month ago (2016-11-03 02:41:17 UTC) #33
spqchan
PTAL
4 years, 1 month ago (2016-11-03 02:41:21 UTC) #34
erikchen
lgtm
4 years, 1 month ago (2016-11-03 17:02:17 UTC) #35
spqchan
thanks! +rsesek for ownership
4 years, 1 month ago (2016-11-03 17:06:16 UTC) #37
Robert Sesek
LGTM w/ two doc nits. Really nice cleanup! https://codereview.chromium.org/2467833003/diff/120001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2467833003/diff/120001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode22 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:22: // ...
4 years, 1 month ago (2016-11-04 16:31:57 UTC) #38
spqchan
thanks! https://codereview.chromium.org/2467833003/diff/120001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h (right): https://codereview.chromium.org/2467833003/diff/120001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h#newcode22 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h:22: // + TOOLBAR_PRESENT: The toolbar is present. Moving ...
4 years, 1 month ago (2016-11-04 18:56:32 UTC) #39
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/2467833003/140001
4 years, 1 month ago (2016-11-04 18:57:28 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-04 19:36:39 UTC) #44
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 20:00:24 UTC) #46
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/3c5b671d18c00040c5313257a619a197d4a7daaa
Cr-Commit-Position: refs/heads/master@{#429979}

Powered by Google App Engine
This is Rietveld 408576698