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

Unified Diff: components/bubble/bubble_manager.cc

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.cc
diff --git a/components/bubble/bubble_manager.cc b/components/bubble/bubble_manager.cc
index 8bbed4614bcbc9c4d532b4eb9f85102b0581a917..1af208da92c75aca7ffa7fa30a87609c7a31b3f2 100644
--- a/components/bubble/bubble_manager.cc
+++ b/components/bubble/bubble_manager.cc
@@ -87,6 +87,11 @@ void BubbleManager::UpdateAllBubbleAnchors() {
controller->UpdateAnchorPosition();
}
+bool BubbleManager::UpdateBubbleUI(BubbleReference bubble) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+ return bubble->UpdateBubbleUIInternal();
+}
+
void BubbleManager::ShowPendingBubbles() {
if (manager_state_ == QUEUE_BUBBLES)
manager_state_ = SHOW_BUBBLES;

Powered by Google App Engine
This is Rietveld 408576698