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

Issue 1990163003: Mac fullscreen low power: Add layout interactions and flag (Closed)

Created:
4 years, 7 months ago by ccameron
Modified:
4 years, 7 months ago
Reviewers:
spqchan
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac fullscreen low power: Add layout interactions and flag This instantiates the NSWindow used for fullscreen low power mode, by creating a FullscreenLowPowerCoordinator when entering fullscreen mode, and adding it to the fullscreen transition group. This also adds logic for determining if the layout of the browser chrome is on-screen, and prevents moving the fullscreen low power window in front if it is present. Add a flag to enable this feature during development. BUG=594460 Committed: https://crrev.com/befa9c961bf06d34403d4f40cc469e1c774b829a Cr-Commit-Position: refs/heads/master@{#395457}

Patch Set 1 #

Patch Set 2 : Remove unused class #

Patch Set 3 : Add development flag #

Total comments: 5

Patch Set 4 : Fix spelling #

Patch Set 5 : Add null check #

Patch Set 6 : Add nil check for tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -14 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 5 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.mm View 1 2 3 chunks +31 lines, -9 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
ccameron
ptal https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode58 chrome/browser/ui/cocoa/browser_window_controller.mm:58: #include "chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h" This is needed because the class ...
4 years, 7 months ago (2016-05-19 23:54:03 UTC) #3
spqchan
https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h File chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h (right): https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h#newcode60 chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h:60: // Set if the NSView heirarchy allows low power ...
4 years, 7 months ago (2016-05-20 00:22:24 UTC) #4
ccameron
Thanks -- updated. https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h File chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h (right): https://codereview.chromium.org/1990163003/diff/40001/chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h#newcode60 chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h:60: // Set if the NSView heirarchy ...
4 years, 7 months ago (2016-05-20 00:33:23 UTC) #5
spqchan
lgtm
4 years, 7 months ago (2016-05-20 00:40:30 UTC) #6
ccameron
Thanks!
4 years, 7 months ago (2016-05-20 17:58:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990163003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990163003/60001
4 years, 7 months ago (2016-05-20 17:58:33 UTC) #9
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/231674)
4 years, 7 months ago (2016-05-20 18:51:50 UTC) #11
ccameron
On 2016/05/20 18:51:50, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-20 19:00:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990163003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990163003/80001
4 years, 7 months ago (2016-05-20 19:51:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/115173)
4 years, 7 months ago (2016-05-20 21:03:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990163003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990163003/100001
4 years, 7 months ago (2016-05-23 21:52:21 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-23 23:20:39 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 23:21:58 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/befa9c961bf06d34403d4f40cc469e1c774b829a
Cr-Commit-Position: refs/heads/master@{#395457}

Powered by Google App Engine
This is Rietveld 408576698