Index: chrome/browser/ui/panels/panel_browsertest.cc |
diff --git a/chrome/browser/ui/panels/panel_browsertest.cc b/chrome/browser/ui/panels/panel_browsertest.cc |
index 57f3b58c6aa273a67fdbf0fdab1d4bde23db7546..a46feed1331047906774e016b07b0b6d00ae4455 100644 |
--- a/chrome/browser/ui/panels/panel_browsertest.cc |
+++ b/chrome/browser/ui/panels/panel_browsertest.cc |
@@ -1132,9 +1132,18 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, MAYBE_DrawAttentionWhileMinimized) { |
panel3->Close(); |
} |
+// http://crbug.com/175760 |
raymes
2013/02/12 18:55:41
Optional: Just add a quick comment that it's flaky
|
+#if defined(OS_MAC) |
+#define MAYBE_StopDrawingAttentionWhileMinimized \ |
+ DISABLED_StopDrawingAttentionWhileMinimized |
+#else |
+#define MAYBE_StopDrawingAttentionWhileMinimized \ |
+ StopDrawingAttentionWhileMinimized |
+#endif |
// Verify that minimized state of a panel is correct after draw attention |
// is stopped when there are other minimized panels. |
-IN_PROC_BROWSER_TEST_F(PanelBrowserTest, StopDrawingAttentionWhileMinimized) { |
+IN_PROC_BROWSER_TEST_F(PanelBrowserTest, |
+ MAYBE_StopDrawingAttentionWhileMinimized) { |
Panel* panel1 = CreatePanel("panel1"); |
Panel* panel2 = CreatePanel("panel2"); |
@@ -1322,8 +1331,15 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, MAYBE_DrawAttentionResetOnClick) { |
panel2->Close(); |
} |
+// http://crbug.com/175760 |
+#if defined(OS_MAC) |
+#define MAYBE_MinimizeImmediatelyAfterRestore \ |
+ DISABLED_MinimizeImmediatelyAfterRestore |
+#else |
+#define MAYBE_MinimizeImmediatelyAfterRestore MinimizeImmediatelyAfterRestore |
+#endif |
IN_PROC_BROWSER_TEST_F(PanelBrowserTest, |
- MinimizeImmediatelyAfterRestore) { |
+ MAYBE_MinimizeImmediatelyAfterRestore) { |
CreatePanelParams params("Panel Test", gfx::Rect(), SHOW_AS_ACTIVE); |
Panel* panel = CreatePanelWithParams(params); |
scoped_ptr<NativePanelTesting> native_panel_testing( |