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

Unified Diff: ash/wm/drag_window_controller.cc

Issue 2596743002: Replace WM shadow types (on/off) and styles (small/inactive/active) (Closed)
Patch Set: one more mechanical change Created 3 years, 11 months 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
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/chromeos/accessibility/chromevox_panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7811cb9858664ff56e6462f3ba5f2e791a3ba843 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::LARGE);
RecreateWindowLayers(original_window);
layer_owner_->root()->SetVisible(true);
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/chromeos/accessibility/chromevox_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698