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

Unified Diff: ash/wm/drag_window_controller.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: ash/wm/drag_window_controller.cc
diff --git a/ash/wm/drag_window_controller.cc b/ash/wm/drag_window_controller.cc
index a42fd69d765f35f8d6d58caa2670458bb3335598..20bf7aa2b69fbaaf553a8a60e55cf579f556c732 100644
--- a/ash/wm/drag_window_controller.cc
+++ b/ash/wm/drag_window_controller.cc
@@ -93,7 +93,7 @@ class DragWindowController::DragWindowDetails : public aura::WindowDelegate {
drag_window_->SetProperty(aura::client::kAnimationsDisabledKey, true);
container->AddChild(drag_window_);
drag_window_->SetBounds(bounds_in_screen);
- SetShadowType(drag_window_, ::wm::SHADOW_TYPE_RECTANGULAR);
+ SetShadowElevation(drag_window_, ::wm::ShadowElevation::BIG);
RecreateWindowLayers(original_window);
layer_owner_->root()->SetVisible(true);

Powered by Google App Engine
This is Rietveld 408576698