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

Unified Diff: components/bubble/bubble_delegate.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_delegate.h
diff --git a/components/bubble/bubble_delegate.h b/components/bubble/bubble_delegate.h
index ebac50f33a3d5a4a56b7836d5acf225cfe9675b0..014b7d50c0b0bd844283ed4d8834422ef67e112c 100644
--- a/components/bubble/bubble_delegate.h
+++ b/components/bubble/bubble_delegate.h
@@ -27,6 +27,11 @@ class BubbleDelegate {
// BubbleDelegate should not keep a reference to this newly created UI.
virtual scoped_ptr<BubbleUI> BuildBubbleUI() = 0;
+ // Called to update an existing UI. This is the same BubbleUI that was created
+ // in |BuildBubbleUI|.
+ // Return true to indicate the UI was updated.
+ virtual bool UpdateBubbleUI(BubbleUI* bubble_ui);
+
private:
DISALLOW_COPY_AND_ASSIGN(BubbleDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698