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 4c51a814572e289e548e65e81b502a7bd954dddf..5e6c9db1b80b3d1ab16eac5d9caf96a08b9521d0 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 |
@@ -1793,7 +1793,7 @@ void DragSingleTabToSeparateWindowInSecondDisplayStep2( |
// Drags from browser to a second display and releases input. |
IN_PROC_BROWSER_TEST_P(DetachToBrowserInSeparateDisplayTabDragControllerTest, |
- DISABLED_DragSingleTabToSeparateWindowInSecondDisplay) { |
+ DragSingleTabToSeparateWindowInSecondDisplay) { |
// Add another tab. |
AddTabAndResetBrowser(browser()); |
TabStrip* tab_strip = GetTabStripForBrowser(browser()); |
@@ -1821,16 +1821,13 @@ IN_PROC_BROWSER_TEST_P(DetachToBrowserInSeparateDisplayTabDragControllerTest, |
TabStrip* tab_strip2 = GetTabStripForBrowser(new_browser); |
ASSERT_FALSE(tab_strip2->IsDragSessionActive()); |
- // This other browser should be on the second screen (with mouse drag) |
- // With the touch input the browser cannot be dragged from one screen |
- // to another and the window stays on the first screen. |
- if (input_source() == INPUT_SOURCE_MOUSE) { |
- aura::Window::Windows roots = ash::Shell::GetAllRootWindows(); |
- ASSERT_EQ(2u, roots.size()); |
- aura::Window* second_root = roots[1]; |
- EXPECT_EQ(second_root, |
- new_browser->window()->GetNativeWindow()->GetRootWindow()); |
- } |
+ // This other browser should be on the second screen with both |
+ // mouse drag and touch drag. |
Peter Kasting
2017/04/24 22:04:16
Nit: Make sure to wrap at 80 columns (not earlier)
weidongg
2017/04/25 00:25:47
Done.
|
+ aura::Window::Windows roots = ash::Shell::GetAllRootWindows(); |
+ ASSERT_EQ(2u, roots.size()); |
+ aura::Window* second_root = roots[1]; |
+ EXPECT_EQ(second_root, |
+ new_browser->window()->GetNativeWindow()->GetRootWindow()); |
EXPECT_EQ("0", IDString(new_browser->tab_strip_model())); |
EXPECT_EQ("1", IDString(browser()->tab_strip_model())); |