Commit 388db1d1 authored by sky@chromium.org's avatar sky@chromium.org

Fixes bug where tabstrip won't correctly enter into stacking mode on

touch.

BUG=128741
TEST=see bug
R=sadrul@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10823165

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149971 0039d316-1c4b-4281-b951-d872f2087c98
parent 2040ebaf
...@@ -1024,7 +1024,7 @@ void TabStrip::MaybeStartDrag( ...@@ -1024,7 +1024,7 @@ void TabStrip::MaybeStartDrag(
#endif #endif
// Gestures don't automatically do a capture. We don't allow multiple drags at // Gestures don't automatically do a capture. We don't allow multiple drags at
// the same time, so we explicitly capture. // the same time, so we explicitly capture.
if (event.type() == ui::ET_GESTURE_TAP_DOWN) if (event.type() == ui::ET_GESTURE_BEGIN)
GetWidget()->SetCapture(this); GetWidget()->SetCapture(this);
drag_controller_.reset(new TabDragController); drag_controller_.reset(new TabDragController);
drag_controller_->Init( drag_controller_->Init(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment