Index: chrome/browser/ui/views/tabs/tab_drag_controller.h |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.h b/chrome/browser/ui/views/tabs/tab_drag_controller.h |
index dd8623338497a13a31a45fe3c6386870889d4d95..0f0cd77f01d5c8a18e8854abcba64980c492e68f 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.h |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.h |
@@ -109,7 +109,7 @@ class TabDragController : public content::WebContentsDelegate, |
// |tab_strip|. |
// NOTE: this returns false if the TabDragController is in the process of |
// finishing the drag. |
- static bool IsAttachedTo(TabStrip* tab_strip); |
+ static bool IsAttachedTo(const TabStrip* tab_strip); |
// Returns true if there is a drag underway. |
static bool IsActive(); |
@@ -474,6 +474,9 @@ class TabDragController : public content::WebContentsDelegate, |
// |point_in_screen|. |
gfx::Vector2d GetWindowOffset(const gfx::Point& point_in_screen); |
+ // Returns true if |tab_strip| browser window is docked. |
+ static bool IsDocked(const TabStrip* tab_strip); |
+ |
// Returns true if moving the mouse only changes the visible tabs. |
bool move_only() const { |
return (move_behavior_ == MOVE_VISIBILE_TABS) != 0; |