Index: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
index 1b3db801099bd51bf8039da01888bfa2612ddc96..3e675a870289aad8567f32d8d3fc9bd317193a1a 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
@@ -40,6 +40,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/web_contents.h" |
+#include "content/public/common/content_switches.h" |
#include "ui/base/test/ui_controls.h" |
#include "ui/display/display.h" |
#include "ui/display/screen.h" |
@@ -210,6 +211,10 @@ void TabDragControllerTest::SetWindowFinderForTabStrip( |
tab_strip->drag_controller_->window_finder_ = std::move(window_finder); |
} |
+void TabDragControllerTest::SetUpCommandLine(base::CommandLine* command_line) { |
+ command_line->AppendSwitch(switches::kDisableResizeLock); |
+} |
+ |
namespace { |
enum InputSource { |
@@ -668,9 +673,8 @@ void DragToSeparateWindowStep2(DetachToBrowserTabDragControllerTest* test, |
} // namespace |
-#if defined(OS_CHROMEOS) || defined(OS_LINUX) |
-// TODO(sky,sad): Disabled as it fails due to resize locks with a real |
-// compositor. crbug.com/331924 |
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
+// TODO: Disabled as mouse isn't updated propertly, http://crbug.com/640741. |
#define MAYBE_DragToSeparateWindow DISABLED_DragToSeparateWindow |
#else |
#define MAYBE_DragToSeparateWindow DragToSeparateWindow |