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

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

Issue 2510603003: Add ink drop ripple to status tray (Closed)
Patch Set: Addressed review comments 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
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ui/views/animation/ink_drop_mask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b67e2e58a19f9ac48cc3872c985943fe1b9c2a74..caa74d1df26559eaf91dec663047f8ba531893f7 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) {
« no previous file with comments | « ash/common/system/user/tray_user.cc ('k') | ui/views/animation/ink_drop_mask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698