| 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_TAB_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 #include "chrome/browser/tab_menu_model.h" | |
| 11 #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" |
| 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, |
| 17 kTabWaiting, | 17 kTabWaiting, |
| 18 kTabCrashed, | 18 kTabCrashed, |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 @class MenuController; | 21 @class MenuController; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 @end | 104 @end |
| 105 | 105 |
| 106 @interface TabController(TestingAPI) | 106 @interface TabController(TestingAPI) |
| 107 - (NSString*)toolTip; | 107 - (NSString*)toolTip; |
| 108 - (int)iconCapacity; | 108 - (int)iconCapacity; |
| 109 - (BOOL)shouldShowIcon; | 109 - (BOOL)shouldShowIcon; |
| 110 - (BOOL)shouldShowCloseButton; | 110 - (BOOL)shouldShowCloseButton; |
| 111 @end // TabController(TestingAPI) | 111 @end // TabController(TestingAPI) |
| 112 | 112 |
| 113 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ | 113 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTROLLER_H_ |
| OLD | NEW |