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

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

Issue 2150823002: [ash-md] Implements a shadow over overview items and selector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Implements a shadow over overview items and selector (nits) Created 4 years, 5 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/common/wm/overview/window_selector_item.cc ('k') | no next file » | 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 813e7a907f1632f16f5a51126b8d618a39d7570b..81199f848fd361d94cbc7ac006e66935f0f8ec22 100644
--- a/ui/wm/core/shadow.h
+++ b/ui/wm/core/shadow.h
@@ -45,6 +45,10 @@ class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver {
// transformations to this layer).
ui::Layer* layer() const { return layer_.get(); }
+ // Exposed to allow setting animation parameters for bounds and opacity
+ // animations.
+ ui::Layer* shadow_layer() const { return shadow_layer_.get(); }
+
const gfx::Rect& content_bounds() const { return content_bounds_; }
Style style() const { return style_; }
« no previous file with comments | « ash/common/wm/overview/window_selector_item.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698