Chromium Code Reviews| 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 52d3b4baa578791dc7ee93fc4c5d08c680d3518c..fd06efa29053dd38b96345720d3fe5da5f151fa1 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| +++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| @@ -1113,6 +1113,8 @@ void TabDragController::RunMoveLoop(const gfx::Vector2d& drag_offset) { |
| return; |
| if (move_loop_widget_) { |
| move_loop_widget_->RemoveObserver(this); |
| + if (result != views::Widget::MOVE_LOOP_CANCELED) |
| + SetWindowPositionManaged(move_loop_widget_->GetNativeWindow(), true); |
|
sky
2016/11/19 14:55:03
Can you clarify why tab dragging code needs to exp
afakhry
2016/11/22 18:15:05
I was hoping that you would answer this question a
|
| move_loop_widget_ = NULL; |
| } |
| is_dragging_window_ = false; |