diff options
Diffstat (limited to 'chrome/browser/cocoa/tab_view_picker_table.h')
-rw-r--r-- | chrome/browser/cocoa/tab_view_picker_table.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tab_view_picker_table.h b/chrome/browser/cocoa/tab_view_picker_table.h index 4255fec4..43784d3 100644 --- a/chrome/browser/cocoa/tab_view_picker_table.h +++ b/chrome/browser/cocoa/tab_view_picker_table.h @@ -4,13 +4,17 @@ #import <Cocoa/Cocoa.h> +#import "base/cocoa_protocols_mac.h" + // TabViewPickerTable is an NSTableView that can be used to switch between the // NSTabViewItems of an NSTabView. To use this, just create a // TabViewPickerTable in Interface Builder and connect the |tabView_| outlet // to an NSTabView. Now the table is automatically populated with the tab labels // of the tab view, clicking the table updates the tab view, and switching // tab view items updates the selection of the table. -@interface TabViewPickerTable : NSTableView { +@interface TabViewPickerTable : NSTableView <NSTabViewDelegate, + NSTableViewDelegate, + NSTableViewDataSource> { @public IBOutlet NSTabView* tabView_; // Visible for testing. |