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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: . Created 4 years 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
Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
index a91436dfd8d51bf6da9a0832d5421c81c1e0caa4..5d768addff2fa2dd53796eede478a2d70e8d35e3 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
@@ -408,7 +408,7 @@ void DesktopNativeWidgetAura::InitNativeWidget(
}
content_window_->SetType(GetAuraWindowTypeForWidgetType(params.type));
content_window_->Init(params.layer_type);
- wm::SetShadowType(content_window_, wm::SHADOW_TYPE_NONE);
+ wm::SetShadowElevation(content_window_, wm::ShadowElevation::NONE);
content_window_container_ = new aura::Window(NULL);
content_window_container_->Init(ui::LAYER_NOT_DRAWN);

Powered by Google App Engine
This is Rietveld 408576698