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

Unified Diff: ui/accelerated_widget_mac/accelerated_widget_mac.mm

Issue 2003243002: Mac fullscreen low power: Ignore WasOccluded by low power window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen_sort_of
Patch Set: fix reversed conditional Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/accelerated_widget_mac.mm
diff --git a/ui/accelerated_widget_mac/accelerated_widget_mac.mm b/ui/accelerated_widget_mac/accelerated_widget_mac.mm
index bc496e1587a24c4e7b681cadb8c3de60664bdd69..92d4c451d14ca73f935d697b8f7deb2c1da69458 100644
--- a/ui/accelerated_widget_mac/accelerated_widget_mac.mm
+++ b/ui/accelerated_widget_mac/accelerated_widget_mac.mm
@@ -124,6 +124,10 @@ - (void)setContentsChanged;
return fullscreen_low_power_layer_;
}
+bool AcceleratedWidgetMac::MightBeInFullscreenLowPowerMode() const {
+ return fslp_coordinator_;
+}
+
bool AcceleratedWidgetMac::HasFrameOfSize(
const gfx::Size& dip_size) const {
return last_swap_size_dip_ == dip_size;
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698