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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.cc

Issue 1164213002: Changes reference to pixels to DIPs in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ash/wm/default_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index b3461fe41e39185779b0fb1a6d93db952778738e..e604c7c47692ca25ace806a1355c3f0626e444db 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -71,7 +71,7 @@ const int kMoveAttachedInitialDelay = 600;
// Delay for moving tabs after the initial delay has passed.
const int kMoveAttachedSubsequentDelay = 300;
-const int kHorizontalMoveThreshold = 16; // Pixels.
+const int kHorizontalMoveThreshold = 16; // DIPs.
// Distance from the next/previous stacked before before we consider the tab
// close enough to trigger moving.
@@ -81,7 +81,7 @@ const int kStackedDistance = 36;
// drag. This prevents the dragged browser widget from getting maximized at
// creation and makes it easier to drag tabs out of a restored window that had
// maximized size.
-const int kMaximizedWindowInset = 10; // Pixels.
+const int kMaximizedWindowInset = 10; // DIPs.
#if defined(USE_ASH)
void SetWindowPositionManaged(gfx::NativeWindow window, bool value) {
« no previous file with comments | « ash/wm/default_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698