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

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

Issue 2510603003: Add ink drop ripple to status tray (Closed)
Patch Set: Created 4 years, 1 month 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.cc
diff --git a/ui/views/animation/ink_drop_host_view.cc b/ui/views/animation/ink_drop_host_view.cc
index e12fc8a9e3916b35f7e438c7b2429a053da8425e..8f75978217ed236faa5d78df05b606803c73a19b 100644
--- a/ui/views/animation/ink_drop_host_view.cc
+++ b/ui/views/animation/ink_drop_host_view.cc
@@ -220,6 +220,8 @@ void InkDropHostView::AnimateInkDrop(InkDropState state,
void InkDropHostView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
if (ink_drop_)
ink_drop_->HostSizeChanged(size());
+ if (ink_drop_mask_)
+ ink_drop_mask_->UpdateLayerSize(size());
}
void InkDropHostView::VisibilityChanged(View* starting_from, bool is_visible) {

Powered by Google App Engine
This is Rietveld 408576698