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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_view.h

Issue 2071973002: Mac: Disable visual effects when fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chrome/browser/ui/cocoa/tabs/tab_strip_view.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_view.h b/chrome/browser/ui/cocoa/tabs/tab_strip_view.h
index fe60df4133c4f4943438101664db614e01d41481..55ec16cfaabf5b3007fb358ba37291f139fcaef5 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_view.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_view.h
@@ -33,6 +33,7 @@
BOOL dropArrowShown_;
NSPoint dropArrowPosition_;
BOOL inATabDraggingOverlayWindow_;
+ BOOL visualEffectsDisabledForFullscreen_;
}
@property(assign, nonatomic) BOOL dropArrowShown;
@@ -43,6 +44,9 @@
// objects according to Cocoa's create rule.
- (NewTabButton*)getNewTabButton;
+// Leaving visual effects enabled when fullscreen results in higher power
+// consumption. This is used to disable effects when fullscreen.
+- (void)setVisualEffectsDisabledForFullscreen:(BOOL)fullscreen;
@end
// Interface for the controller to set and clear the weak reference to itself.
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698