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

Unified Diff: ui/views/animation/ink_drop_host_view.h

Issue 2033553003: Add MD ink drop ripple to shelf app items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests Created 4 years, 6 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/views/animation/ink_drop_host_view.h
diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h
index 378d90b9719a456b837edbc6048c891ac60fc209..866b8a3a59f9daf965bc277a7c35aca0360c4d55 100644
--- a/ui/views/animation/ink_drop_host_view.h
+++ b/ui/views/animation/ink_drop_host_view.h
@@ -78,6 +78,10 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost {
gfx::Size ink_drop_size_;
+ // Determines whether the view was already painting to layer before adding ink
+ // drop layer.
+ bool old_paint_to_layer_;
+
bool destroying_;
DISALLOW_COPY_AND_ASSIGN(InkDropHostView);

Powered by Google App Engine
This is Rietveld 408576698