| OLD | NEW |
| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 - (void)cancelAlert; | 121 - (void)cancelAlert; |
| 122 | 122 |
| 123 // Returns the width of the largest part of the tab that is available for the | 123 // Returns the width of the largest part of the tab that is available for the |
| 124 // user to click to select/activate the tab. | 124 // user to click to select/activate the tab. |
| 125 - (int)widthOfLargestSelectableRegion; | 125 - (int)widthOfLargestSelectableRegion; |
| 126 | 126 |
| 127 // Returns the Material Design color of the icons. Used by the alert indicator, | 127 // Returns the Material Design color of the icons. Used by the alert indicator, |
| 128 // the "x", and the default favicon. | 128 // the "x", and the default favicon. |
| 129 - (SkColor)iconColor; | 129 - (SkColor)iconColor; |
| 130 | 130 |
| 131 // Updates the label font after changes to either state or the system "Increase | |
| 132 // Contrast" setting. | |
| 133 - (void)updateLabelFont; | |
| 134 | |
| 135 // Called when systemwide accessibility options change. | 131 // Called when systemwide accessibility options change. |
| 136 - (void)accessibilityOptionsDidChange:(id)ignored; | 132 - (void)accessibilityOptionsDidChange:(id)ignored; |
| 137 | 133 |
| 138 @end | 134 @end |
| 139 | 135 |
| 140 // 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 |
| 141 // 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 |
| 142 // garbage pointer. To prevent this, the TabController uses this interface to | 138 // garbage pointer. To prevent this, the TabController uses this interface to |
| 143 // clear the |controller_| pointer when it is dying. | 139 // clear the |controller_| pointer when it is dying. |
| 144 @interface TabView (TabControllerInterface) | 140 @interface TabView (TabControllerInterface) |
| 145 - (void)setController:(TabController*)controller; | 141 - (void)setController:(TabController*)controller; |
| 146 @end | 142 @end |
| 147 | 143 |
| 148 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_ | 144 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_VIEW_H_ |
| OLD | NEW |