Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Unified Diff: views/widget/native_widget_aura.cc

Issue 8555025: aura: Draw drop shadows under browsers and menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/aura/window.h ('K') | « ui/aura_shell/desktop_layout_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« ui/aura/window.h ('K') | « ui/aura_shell/desktop_layout_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698