Index: chrome/browser/ui/views/frame/browser_frame_aura.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc |
index 3b55088a589f1215d806fcc6c988b61814160c86..4cac0c8cc90911bf02d684cb77dda709c0d4c4b4 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc |
@@ -13,6 +13,9 @@ |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkColor.h" |
#include "ui/aura/aura_switches.h" |
+#include "ui/aura/client/aura_constants.h" |
+#include "ui/aura/client/shadow_types.h" |
+#include "ui/aura/window.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/theme_provider.h" |
#include "ui/gfx/canvas.h" |
@@ -169,6 +172,9 @@ BrowserFrameAura::BrowserFrameAura(BrowserFrame* browser_frame, |
browser_view_->layer()->SetFillsBoundsOpaquely(false); |
// Background only needed for Aura-style windows. |
browser_view_->set_background(new ToolbarBackground(browser_view)); |
+ } else { |
+ GetNativeWindow()->SetIntProperty(aura::kShadowTypeKey, |
+ aura::SHADOW_TYPE_RECTANGULAR); |
} |
} |