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

Unified Diff: components/bubble/bubble_manager.h

Issue 1310483003: Add ability for a BubbleReference to update the BubbleUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bm-reference-own-file.gitbr
Patch Set: Created 5 years, 4 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: components/bubble/bubble_manager.h
diff --git a/components/bubble/bubble_manager.h b/components/bubble/bubble_manager.h
index 931e74c97e53b8d7c9d89fe6b14ae4c6df4793f0..35f49a0bfb7c7db6b483e744fa383174ac5d3eab 100644
--- a/components/bubble/bubble_manager.h
+++ b/components/bubble/bubble_manager.h
@@ -38,6 +38,10 @@ class BubbleManager {
// Notify all bubbles that their anchor or parent may have changed.
void UpdateAllBubbleAnchors();
+ // Notify a bubble that it should update its UI.
+ // Returns true if the UI was updated.
+ bool UpdateBubbleUI(BubbleReference bubble);
+
private:
enum ManagerStates {
SHOW_BUBBLES,

Powered by Google App Engine
This is Rietveld 408576698