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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_view.h

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 (missing member init) 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: chrome/browser/ui/views/toolbar/toolbar_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.h b/chrome/browser/ui/views/toolbar/toolbar_view.h
index c8914bd29fbd3043b76298c0f38a3a0a481fe085..d3f88aa063e7bb14b0bd37ef45b25c687fd50721 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.h
@@ -81,6 +81,11 @@ class ToolbarView : public views::AccessiblePaneView,
// Returns the view to which the Translate bubble should be anchored.
views::View* GetTranslateBubbleAnchor();
+ // Adds |anchor_view| as an observer of |bubble_widget| to track its
+ // visibility.
+ void OnBubbleCreatedForAnchor(views::View* anchor_view,
+ views::Widget* bubble_widget);
+
// Executes |command| registered by |extension|.
void ExecuteExtensionCommand(const extensions::Extension* extension,
const extensions::Command& command);

Powered by Google App Engine
This is Rietveld 408576698