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

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

Issue 581273002: Shadows: crop corner tiles instead of hiding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits from sky Created 6 years, 3 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
Index: ui/wm/core/shadow.h
diff --git a/ui/wm/core/shadow.h b/ui/wm/core/shadow.h
index 8468c67a092a218995852b27b56561b51d6cd14b..5e9065038a558de4971325bee7f32423f8df0320 100644
--- a/ui/wm/core/shadow.h
+++ b/ui/wm/core/shadow.h
@@ -74,6 +74,9 @@ class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver {
// The actual shadow layer corresponding to a cc::NinePatchLayer.
scoped_ptr<ui::Layer> shadow_layer_;
+ // Size of the current shadow image.
+ gfx::Size image_size_;
+
// Bounds of the content that the shadow encloses.
gfx::Rect content_bounds_;
« no previous file with comments | « ui/wm/core/DEPS ('k') | ui/wm/core/shadow.cc » ('j') | ui/wm/core/shadow_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698