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

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 (fixed test build) Created 4 years, 11 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/bubble/bubble_delegate.cc
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
index fd922e4454789415611675a7d815c0b526a4b727..97bb8cb931a29f9816331552c97ea5b5beb758fb 100644
--- a/ui/views/bubble/bubble_delegate.cc
+++ b/ui/views/bubble/bubble_delegate.cc
@@ -145,6 +145,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