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

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

Issue 10213011: Attempt 3 at a better touch tabstrip. There is still a bunch to do, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Tab::GetTouchModeMinimumSize Created 8 years, 8 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/views/tabs/default_tab_drag_controller.cc
diff --git a/chrome/browser/ui/views/tabs/default_tab_drag_controller.cc b/chrome/browser/ui/views/tabs/default_tab_drag_controller.cc
index 93ca571c12bcd94b992945a30f24684abe23cbd7..4681c9f4a43add33454708f9f0d869498a1980c6 100644
--- a/chrome/browser/ui/views/tabs/default_tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/default_tab_drag_controller.cc
@@ -320,6 +320,7 @@ DefaultTabDragController::DefaultTabDragController()
active_(true),
source_tab_index_(std::numeric_limits<size_t>::max()),
initial_move_(true),
+ // TODO: remove.
stacking_(false) {
instance_ = this;
}
@@ -354,7 +355,6 @@ void DefaultTabDragController::Init(
source_tab_offset_ = source_tab_offset;
start_screen_point_ = GetCursorScreenPoint();
mouse_offset_ = mouse_offset;
- stacking_ = source_tabstrip->IsStacking();
drag_data_.resize(tabs.size());
for (size_t i = 0; i < tabs.size(); ++i)

Powered by Google App Engine
This is Rietveld 408576698