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

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

Issue 2638873002: Revert of [Mac] Fix rough-looking profile picker text, especially with a dark theme. (Closed)
Patch Set: Created 3 years, 11 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 2a570489d3bb933b74dca3e514a7f7a105b5018f..55ec16cfaabf5b3007fb358ba37291f139fcaef5 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_view.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_view.h
@@ -19,6 +19,8 @@
@interface TabStripView : BackgroundGradientView<URLDropTarget> {
@private
+ TabStripController* controller_; // Weak; owns us.
+
NSTimeInterval lastMouseUp_;
// Handles being a drag-and-drop target.
@@ -30,15 +32,26 @@
// its tip.
BOOL dropArrowShown_;
NSPoint dropArrowPosition_;
+ BOOL inATabDraggingOverlayWindow_;
+ BOOL visualEffectsDisabledForFullscreen_;
}
-@property(assign, nonatomic) TabStripController* controller;
@property(assign, nonatomic) BOOL dropArrowShown;
@property(assign, nonatomic) NSPoint dropArrowPosition;
+@property(assign, nonatomic) BOOL inATabDraggingOverlayWindow;
// Name starts with "get" because methods staring with "new" return retained
// 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.
+@interface TabStripView (TabStripControllerInterface)
+- (void)setController:(TabStripController*)controller;
@end
// Protected methods subclasses can override to alter behavior. Clients should
« 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