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

Unified Diff: ui/views/bubble/bubble_delegate.cc

Issue 1518543002: Adds MD ink ripple animations to buttons within location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MD ink ripple animations to buttons within location bar (split gesture support into a separate… Created 5 years 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/bubble/bubble_delegate.cc
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
index 11dc4fffbb320c9564d7e96fd3d1e7e262b19711..49456d7e6ab80d800d2f908793e9e2f150670bb8 100644
--- a/ui/views/bubble/bubble_delegate.cc
+++ b/ui/views/bubble/bubble_delegate.cc
@@ -144,6 +144,9 @@ void BubbleDelegateView::OnWidgetClosing(Widget* widget) {
GetBubbleFrameView()->close_button_clicked()) {
close_reason_ = CloseReason::CLOSE_BUTTON;
}
+ View* anchor_view = GetAnchorView();
+ if (anchor_view)
+ anchor_view->OnBubbleClosing();
}
void BubbleDelegateView::OnWidgetDestroying(Widget* widget) {

Powered by Google App Engine
This is Rietveld 408576698