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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_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_strip_controller.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
index 603cbd5c95669537d7a37be5de3ac5ebf75cebe2..6d969f01c38c608afb33e467c573ec352fff91dd 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
@@ -21,6 +21,7 @@
@class ProfileMenuButton;
@class TabContentsController;
@class TabView;
+@class TabStripDragController;
@class TabStripView;
class Browser;
@@ -80,6 +81,9 @@ class NotificationBridge;
ProfileMenuButton* profileMenuButton_; // weak, obtained from the nib.
BOOL hasUpdatedProfileMenuButtonXOffset_;
+ // The controller that manages all the interactions of dragging tabs.
+ scoped_nsobject<TabStripDragController> dragController_;
+
// Tracks the newTabButton_ for rollovers.
scoped_nsobject<CrTrackingArea> newTabTrackingArea_;
scoped_ptr<TabStripModelObserverBridge> bridge_;

Powered by Google App Engine
This is Rietveld 408576698