OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 #import "chrome/browser/ui/cocoa/hover_close_button.h" | 10 #import "chrome/browser/ui/cocoa/hover_close_button.h" |
11 #include "chrome/browser/ui/tabs/tab_menu_model.h" | 11 #include "chrome/browser/ui/tabs/tab_menu_model.h" |
12 | 12 |
13 // The loading/waiting state of the tab. | 13 // The loading/waiting state of the tab. |
14 enum TabLoadingState { | 14 enum TabLoadingState { |
15 kTabDone, | 15 kTabDone, |
16 kTabLoading, | 16 kTabLoading, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 - (void)updateTitleColor; | 105 - (void)updateTitleColor; |
106 @end | 106 @end |
107 | 107 |
108 @interface TabController(TestingAPI) | 108 @interface TabController(TestingAPI) |
109 - (NSString*)toolTip; | 109 - (NSString*)toolTip; |
110 - (int)iconCapacity; | 110 - (int)iconCapacity; |
111 - (BOOL)shouldShowIcon; | 111 - (BOOL)shouldShowIcon; |
112 - (BOOL)shouldShowCloseButton; | 112 - (BOOL)shouldShowCloseButton; |
113 @end // TabController(TestingAPI) | 113 @end // TabController(TestingAPI) |
114 | 114 |
115 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ | 115 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_CONTROLLER_H_ |
OLD | NEW |