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

Issue 12018007: Refactor BrowserWindow fullscreen and presentation on Mac to be consistent with other platforms. (Closed)

Created:
7 years, 11 months ago by scheib
Modified:
7 years, 10 months ago
Reviewers:
Robert Sesek, sky
CC:
chromium-reviews, scheib+watch_chromium.org, sail+watch_chromium.org
Visibility:
Public.

Description

Refactor BrowserWindow fullscreen and presentation on Mac to be consistent with other platforms. Part of a series of refactoring changes that will enable simpler code in FullscreenController as well as correcting behavior there. This change attempts to make the minimal modifications required in order to have BrowserWindow::EnterFullscreen consistently mean fullscreen with no browser chrome on all platforms. BUG=169508 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179399

Patch Set 1 : Merge TOT #

Total comments: 11

Patch Set 2 : Addressed review points #

Patch Set 3 : Merge TOT #

Total comments: 4

Patch Set 4 : rsesek comments fixed. #

Patch Set 5 : Merge TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -117 lines) Patch
M chrome/browser/ui/browser_window.h View 1 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/applescript/window_applescript.mm View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 3 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm View 1 2 3 3 chunks +38 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_unittest.mm View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller.cc View 1 2 3 7 chunks +28 lines, -16 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller_interactive_browsertest.cc View 1 2 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller_state_test.cc View 1 2 9 chunks +29 lines, -7 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc View 1 2 8 chunks +27 lines, -33 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/test/base/test_browser_window.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
scheib
7 years, 11 months ago (2013-01-18 01:00:08 UTC) #1
Robert Sesek
https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode339 chrome/browser/ui/cocoa/browser_window_cocoa.mm:339: [controller_ enterPresentationModeForURL:url Why is this switching to enterPresentationMode? Shouldn't ...
7 years, 11 months ago (2013-01-18 19:41:35 UTC) #2
scheib
Thanks for review, I'll address the other comments, but wanted to iterate on this before ...
7 years, 11 months ago (2013-01-18 22:12:33 UTC) #3
Robert Sesek
https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode339 chrome/browser/ui/cocoa/browser_window_cocoa.mm:339: [controller_ enterPresentationModeForURL:url On 2013/01/18 22:12:33, scheib wrote: > On ...
7 years, 11 months ago (2013-01-18 22:19:12 UTC) #4
scheib
https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm File chrome/browser/ui/cocoa/browser_window_cocoa.mm (right): https://codereview.chromium.org/12018007/diff/7001/chrome/browser/ui/cocoa/browser_window_cocoa.mm#newcode597 chrome/browser/ui/cocoa/browser_window_cocoa.mm:597: const GURL& url, On 2013/01/18 19:41:35, rsesek wrote: > ...
7 years, 11 months ago (2013-01-23 18:13:37 UTC) #5
Robert Sesek
ACKing receipt of the latest round. But I'm sheriff for the next two days and ...
7 years, 11 months ago (2013-01-23 20:22:07 UTC) #6
scheib
Thanks for the ack, I'll pipeline up the next.
7 years, 11 months ago (2013-01-23 22:11:40 UTC) #7
Robert Sesek
https://codereview.chromium.org/12018007/diff/16002/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm File chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm (right): https://codereview.chromium.org/12018007/diff/16002/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm#newcode52 chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:52: enum { kNormal, kFullscreen, kPresentation } window_state_; naming: windowState_ ...
7 years, 10 months ago (2013-01-28 18:36:10 UTC) #8
scheib
sky: owners please. https://codereview.chromium.org/12018007/diff/16002/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm File chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm (right): https://codereview.chromium.org/12018007/diff/16002/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm#newcode52 chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:52: enum { kNormal, kFullscreen, kPresentation } ...
7 years, 10 months ago (2013-01-28 19:32:19 UTC) #9
scheib
sky: owners please.
7 years, 10 months ago (2013-01-28 19:32:19 UTC) #10
Robert Sesek
LGTM
7 years, 10 months ago (2013-01-28 19:33:06 UTC) #11
sky
scheib, what specific files do you need me to review?
7 years, 10 months ago (2013-01-28 22:20:27 UTC) #12
scheib
sky: owners review for chrome/browser/ui/browser_window.h chrome/test/base/test_browser_window.h chrome/test/base/test_browser_window.cc
7 years, 10 months ago (2013-01-28 23:06:03 UTC) #13
sky
LGTM
7 years, 10 months ago (2013-01-29 15:36:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scheib@chromium.org/12018007/34002
7 years, 10 months ago (2013-01-29 18:45:12 UTC) #15
commit-bot: I haz the power
7 years, 10 months ago (2013-01-29 20:29:02 UTC) #16
Message was sent while issue was closed.
Change committed as 179399

Powered by Google App Engine
This is Rietveld 408576698