Index: chrome/browser/ui/cocoa/tabs/tab_controller_target.h |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_controller_target.h b/chrome/browser/ui/cocoa/tabs/tab_controller_target.h |
index f495e55a1c1f9e5615df9ec4241df575bf5154d0..3478b73f2e344b6014bacdb85fb0551679b57ce9 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_controller_target.h |
+++ b/chrome/browser/ui/cocoa/tabs/tab_controller_target.h |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/tabs/tab_menu_model.h" |
@class TabController; |
+@protocol TabDraggingEventTarget; |
// A protocol to be implemented by a TabController's target. |
@protocol TabControllerTarget |
@@ -28,6 +29,9 @@ |
- (ui::SimpleMenuModel*)contextMenuModelForController:(TabController*)controller |
menuDelegate:(ui::SimpleMenuModel::Delegate*)delegate; |
+// Returns a weak reference to the controller that manages dragging of tabs. |
+- (id<TabDraggingEventTarget>)dragController; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_CONTROLLER_TARGET_H_ |