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

Unified Diff: components/exo/shell_surface.cc

Issue 2870613002: Use defualt shadow elevation. (Closed)
Patch Set: update unit tests to use DEFAULT 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 0e993ba5ef8bffbe2de8e8dffd029a69e217f66a..1d4a16aa7afe4143d14aa63f0d5c0568e38821c9 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -1593,7 +1593,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