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

Unified Diff: ui/wm/core/shadow.h

Issue 2586653002: Improve CrOS WM shadow drawing for small windows. (Closed)
Patch Set: wrapping 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
« no previous file with comments | « no previous file | ui/wm/core/shadow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/shadow.h
diff --git a/ui/wm/core/shadow.h b/ui/wm/core/shadow.h
index bc7053f104e44186ea59bfae7b47cd8ec64c5de7..8117c467808d057cf091e1efed6a2179ef2811fd 100644
--- a/ui/wm/core/shadow.h
+++ b/ui/wm/core/shadow.h
@@ -92,6 +92,9 @@ class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver {
// Bounds of the content that the shadow encloses.
gfx::Rect content_bounds_;
+ // The elevation of the shadow image that's currently set on |shadow_layer_|.
+ int effective_elevation_ = 0;
+
DISALLOW_COPY_AND_ASSIGN(Shadow);
};
« no previous file with comments | « no previous file | ui/wm/core/shadow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698