Chromium Code Reviews| Index: views/widget/native_widget_aura.cc |
| diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc |
| index 4ff026efd56b3cf2cdc171c849595264aa28fecd..98cf1145784ad02d25594202ac05f526306299b0 100644 |
| --- a/views/widget/native_widget_aura.cc |
| +++ b/views/widget/native_widget_aura.cc |
| @@ -156,6 +156,9 @@ void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) { |
| GetWidget()->GetRootView()); |
| tooltip_manager_.reset(manager); |
| } |
| + |
| + if (window_type == Widget::InitParams::TYPE_MENU) |
| + window_->SetShadowVisible(true); |
|
Daniel Erat
2011/11/15 01:05:04
Doing this from Views seems a bit gross to me. Op
sky
2011/11/15 04:49:13
Why? This seems like the right place to me. The ot
|
| } |
|
sky
2011/11/15 04:50:40
One more comment here. Are we really going to only
Daniel Erat
2011/11/15 17:52:58
Yes, they're getting enabled in browser_frame_aura
|
| NonClientFrameView* NativeWidgetAura::CreateNonClientFrameView() { |