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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_view.h

Issue 2087893002: [cocoa] increase tab strip contrast in "Increase Contrast" mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 10.9 detection & themeless windows Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
7 7
8 #include <ApplicationServices/ApplicationServices.h> 8 #include <ApplicationServices/ApplicationServices.h>
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // will make it fade away. 117 // will make it fade away.
118 - (void)cancelAlert; 118 - (void)cancelAlert;
119 119
120 // Returns the width of the largest part of the tab that is available for the 120 // Returns the width of the largest part of the tab that is available for the
121 // user to click to select/activate the tab. 121 // user to click to select/activate the tab.
122 - (int)widthOfLargestSelectableRegion; 122 - (int)widthOfLargestSelectableRegion;
123 123
124 // Returns the Material Design color of the "x". 124 // Returns the Material Design color of the "x".
125 - (SkColor)closeButtonColor; 125 - (SkColor)closeButtonColor;
126 126
127 // Updates the label font after changes to either state or the system "Increase
128 // Contrast" setting.
129 - (void)updateLabelFont;
130
131 // Called when systemwide accessibility options change.
132 - (void)accessibilityOptionsDidChange:(id)ignored;
133
127 @end 134 @end
128 135
129 // The TabController |controller_| is not the only owner of this view. If the 136 // The TabController |controller_| is not the only owner of this view. If the
130 // controller is released before this view, then we could be hanging onto a 137 // controller is released before this view, then we could be hanging onto a
131 // garbage pointer. To prevent this, the TabController uses this interface to 138 // garbage pointer. To prevent this, the TabController uses this interface to
132 // clear the |controller_| pointer when it is dying. 139 // clear the |controller_| pointer when it is dying.
133 @interface TabView (TabControllerInterface) 140 @interface TabView (TabControllerInterface)
134 - (void)setController:(TabController*)controller; 141 - (void)setController:(TabController*)controller;
135 @end 142 @end
136 143
137 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_ 144 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_view.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698