Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7718)

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_controller.h

Issue 7080064: [Mac] Refactor the logic of tab dragging out of TabView and into a new helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/tabs/tab_controller.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_controller.h b/chrome/browser/ui/cocoa/tabs/tab_controller.h
index 3b1ce11eb29f7586f0c61543028e5ea71ba230af..7c40534c4ecfdb5750b3d51211cbf0f0da1618b6 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_controller.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_controller.h
@@ -8,6 +8,7 @@
#import <Cocoa/Cocoa.h>
#import "chrome/browser/ui/cocoa/hover_close_button.h"
+#import "chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h"
#include "chrome/browser/ui/tabs/tab_menu_model.h"
#include "googleurl/src/gurl.h"
@@ -37,7 +38,7 @@ class MenuDelegate;
// progress. The default in the nib is an image view so nothing special is
// required if that's all you need.
-@interface TabController : NSViewController {
+@interface TabController : NSViewController<TabDraggingEventTarget> {
@private
IBOutlet NSView* iconView_;
IBOutlet NSTextField* titleView_;

Powered by Google App Engine
This is Rietveld 408576698