| Index: ash/wm/panels/panel_layout_manager_unittest.cc
|
| diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc
|
| index 47655e70d8c8b9f253dd3c67b22516963cd855ad..0e3165d4ef4225af44b350e2cd98cad71bf65436 100644
|
| --- a/ash/wm/panels/panel_layout_manager_unittest.cc
|
| +++ b/ash/wm/panels/panel_layout_manager_unittest.cc
|
| @@ -531,22 +531,9 @@ TEST_F(PanelLayoutManagerTest, MinimizeRestorePanel) {
|
| EXPECT_TRUE(IsPanelCalloutVisible(window.get()));
|
| }
|
|
|
| -#if defined(OS_WIN)
|
| -// Multiple displays aren't supported on Windows Metro/Ash.
|
| -// http://crbug.com/165962
|
| -#define MAYBE_PanelMoveBetweenMultipleDisplays \
|
| - DISABLED_PanelMoveBetweenMultipleDisplays
|
| -#define MAYBE_PanelAttachPositionMultipleDisplays \
|
| - DISABLED_PanelAttachPositionMultipleDisplays
|
| -#define MAYBE_PanelAlignmentSecondDisplay DISABLED_PanelAlignmentSecondDisplay
|
| -#else
|
| -#define MAYBE_PanelMoveBetweenMultipleDisplays PanelMoveBetweenMultipleDisplays
|
| -#define MAYBE_PanelAttachPositionMultipleDisplays \
|
| - PanelAttachPositionMultipleDisplays
|
| -#define MAYBE_PanelAlignmentSecondDisplay PanelAlignmentSecondDisplay
|
| -#endif
|
| +TEST_F(PanelLayoutManagerTest, PanelMoveBetweenMultipleDisplays) {
|
| + RETURN_IF_WIN8;
|
|
|
| -TEST_F(PanelLayoutManagerTest, MAYBE_PanelMoveBetweenMultipleDisplays) {
|
| // Keep the displays wide so that launchers have enough
|
| // space for launcher buttons.
|
| UpdateDisplay("600x400,600x400");
|
| @@ -613,7 +600,9 @@ TEST_F(PanelLayoutManagerTest, MAYBE_PanelMoveBetweenMultipleDisplays) {
|
| p1_d2->GetBoundsInScreen()));
|
| }
|
|
|
| -TEST_F(PanelLayoutManagerTest, MAYBE_PanelAttachPositionMultipleDisplays) {
|
| +TEST_F(PanelLayoutManagerTest, PanelAttachPositionMultipleDisplays) {
|
| + RETURN_IF_WIN8;
|
| +
|
| // Keep the displays wide so that launchers have enough space for launcher
|
| // buttons. Use differently sized displays so the launcher is in a different
|
| // position on second display.
|
| @@ -632,7 +621,9 @@ TEST_F(PanelLayoutManagerTest, MAYBE_PanelAttachPositionMultipleDisplays) {
|
| IsCalloutAboveLauncherIcon(p1_d2.get());
|
| }
|
|
|
| -TEST_F(PanelLayoutManagerTest, MAYBE_PanelAlignmentSecondDisplay) {
|
| +TEST_F(PanelLayoutManagerTest, PanelAlignmentSecondDisplay) {
|
| + RETURN_IF_WIN8;
|
| +
|
| UpdateDisplay("600x400,600x400");
|
| Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
|
|
|
|
|