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

Unified Diff: components/exo/shell_surface.cc

Issue 2868253002: Use default shadow elevation. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | components/exo/shell_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index bd51bfa520d4c2f439bcb50424b24f7020d917e9..48a58e7c211507f33327db6b862a43f05bc75d69 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -1582,7 +1582,7 @@ void ShellSurface::UpdateShadow() {
if (shadow_underlay_)
shadow_underlay_->Hide();
} else {
- wm::SetShadowElevation(window, wm::ShadowElevation::MEDIUM);
+ wm::SetShadowElevation(window, wm::ShadowElevation::DEFAULT);
gfx::Rect shadow_content_bounds =
gfx::ScaleToEnclosedRect(shadow_content_bounds_, 1.f / scale_);
« no previous file with comments | « no previous file | components/exo/shell_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698