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

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

Issue 2541653002: Add a dead zone when dragging tabs horizontally on Mac (Closed)
Patch Set: Addressing review comments. Created 4 years 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_drag_controller.h
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h b/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h
index 7af5fc8873c9c505cc604ae578bd08160c455345..1881ada1726b2b7837ac7635b814a90ca8704cb6 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.h
@@ -35,6 +35,7 @@
// These are released on mouseUp:
BOOL moveWindowOnDrag_; // Set if the only tab of a window is dragged.
BOOL tabWasDragged_; // Has the tab been dragged?
+ BOOL outOfTabHorizontalDeadZone_; // Moved out of its horizontal dead zone?
BOOL draggingWithinTabStrip_; // Did drag stay in the current tab strip?
BOOL chromeIsVisible_;

Powered by Google App Engine
This is Rietveld 408576698