Index: chrome/browser/ui/views/panels/panel_view.cc |
diff --git a/chrome/browser/ui/views/panels/panel_view.cc b/chrome/browser/ui/views/panels/panel_view.cc |
index aef7111c7e27f5cb78fa13accf31bf6f8f1f4d28..97aa507eeb5ae462e712b95b1a254a5ebb84024b 100644 |
--- a/chrome/browser/ui/views/panels/panel_view.cc |
+++ b/chrome/browser/ui/views/panels/panel_view.cc |
@@ -38,10 +38,12 @@ |
namespace { |
+#if defined(OS_WIN) |
// If the height of a stacked panel shrinks below this threshold during the |
// user resizing, it will be treated as minimized. |
const int kStackedPanelHeightShrinkThresholdToBecomeMinimized = |
panel::kTitlebarHeight + 20; |
+#endif |
// Supported accelerators. |
// Note: We can't use the acclerator table defined in chrome/browser/ui/views |