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

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

Issue 2494713003: Reenable Tabdragging tests failing because of IsWindowPositionManaged() (Closed)
Patch Set: pkasting comments Created 4 years, 1 month 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/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;

Powered by Google App Engine
This is Rietveld 408576698