| Index: chrome/browser/cocoa/tab_controller_target.h
|
| ===================================================================
|
| --- chrome/browser/cocoa/tab_controller_target.h (revision 20045)
|
| +++ chrome/browser/cocoa/tab_controller_target.h (working copy)
|
| @@ -5,10 +5,22 @@
|
| #ifndef CHROME_BROWSER_COCOA_TAB_CONTROLLER_TARGET_H_
|
| #define CHROME_BROWSER_COCOA_TAB_CONTROLLER_TARGET_H_
|
|
|
| +#include "chrome/browser/tabs/tab_strip_model.h"
|
| +
|
| +@class TabController;
|
| +
|
| // A protocol to be implemented by a TabController's target.
|
| @protocol TabControllerTarget
|
| - (void)selectTab:(id)sender;
|
| - (void)closeTab:(id)sender;
|
| +
|
| +// Dispatch context menu commands for the given tab controller.
|
| +- (void)commandDispatch:(TabStripModel::ContextMenuCommand)command
|
| + forController:(TabController*)controller;
|
| +// Returns YES if the specificed command should be enabled for the given
|
| +// controller.
|
| +- (BOOL)isCommandEnabled:(TabStripModel::ContextMenuCommand)command
|
| + forController:(TabController*)controller;
|
| @end
|
|
|
| #endif // CHROME_BROWSER_COCOA_TAB_CONTROLLER_TARGET_H_
|
|
|