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

Unified Diff: ui/views/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 (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/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index a5ef00dae1dc83cdaeccd314cc80e239ff475c47..de41446d4b2b808428359fb87ac8b38dc28bff4c 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -998,6 +998,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
virtual int GetLineScrollIncrement(ScrollView* scroll_view,
bool is_horizontal, bool is_positive);
+ // Anchored popup ------------------------------------------------------------
+ // Called when a bubble that is anchored on this View is closing.
+ virtual void OnBubbleClosing() {}
Peter Kasting 2016/01/26 16:59:35 I'm not terribly keen on adding this sort of speci
msw 2016/01/26 17:42:32 Or observe the bubble as a widget observer.
varkha 2016/01/26 17:45:45 I will try to find a way around it.
varkha 2016/01/26 17:45:45 Thanks, msw@, I will take a look at what's involve
+
protected:
// Used to track a drag. RootView passes this into
// ProcessMousePressed/Dragged.

Powered by Google App Engine
This is Rietveld 408576698