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

Issue 2040253003: Mac low power video: Support child windows, sheets, and transitions (Closed)

Created:
4 years, 6 months ago by ccameron
Modified:
4 years, 6 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 low power video: Support child windows, sheets, and transitions We do not want to use the fullscreen low power window when we have a child window, an active sheet, or we are in a fullscreen transition. Add listeners for these changes, and make them call into the FullscreenLowPowerCoordinatorCocoa. Add two exceptions for child windows that were determined empirically (toolbar and a 1x1 bubble). Also update the fullscreen low power window to not be in the window cycle or the window list. BUG=594460 Committed: https://crrev.com/b1811073196ffed5ca106db948c5016dc2c2665b Cr-Commit-Position: refs/heads/master@{#398425}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Incorporate review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -2 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/framed_browser_window.mm View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.h View 1 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_low_power_coordinator.mm View 5 chunks +46 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
ccameron
ptal
4 years, 6 months ago (2016-06-07 21:56:22 UTC) #2
spqchan
LGTM Should there be tests for this? https://codereview.chromium.org/2040253003/diff/1/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2040253003/diff/1/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode766 chrome/browser/ui/cocoa/browser_window_controller_private.mm:766: fullscreenLowPowerCoordinator_->SetInFullscreenTransition(false); Why ...
4 years, 6 months ago (2016-06-07 22:30:32 UTC) #3
ccameron
Thanks! Added a comment about initial state. I'm working on unittests for this -- I ...
4 years, 6 months ago (2016-06-07 23:12:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040253003/20001
4 years, 6 months ago (2016-06-07 23:13:31 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-08 00:07:11 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 00:09:25 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b1811073196ffed5ca106db948c5016dc2c2665b
Cr-Commit-Position: refs/heads/master@{#398425}

Powered by Google App Engine
This is Rietveld 408576698