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

Unified Diff: chrome/browser/ui/chrome_bubble_manager.cc

Issue 1292353006: Mac Changes for BubbleManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mcdb-mac-3.gitbr
Patch Set: New upstream 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
« no previous file with comments | « chrome/browser/ui/chrome_bubble_manager.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/chrome_bubble_manager.cc
diff --git a/chrome/browser/ui/chrome_bubble_manager.cc b/chrome/browser/ui/chrome_bubble_manager.cc
index 62c3f685370288adb73869cc251e270876d6a664..400a1dbd9ca53008ea49802d4f60cb7bce3bf2d0 100644
--- a/chrome/browser/ui/chrome_bubble_manager.cc
+++ b/chrome/browser/ui/chrome_bubble_manager.cc
@@ -99,3 +99,12 @@ void ChromeBubbleManager::NavigationEntryCommitted(
void ChromeBubbleManager::WebContentsDestroyed(content::WebContents* context) {
CloseMatchingBubbles(context, FORCE_CLOSE, BUBBLE_CLOSE_IGNORE);
}
+
+void ChromeBubbleManager::UpdateAnchorPosition(content::WebContents* context) {
+ MassUpdateBubbles(context, base::Bind(&ChromeBubbleManager::UpdateBubbleUI,
+ this->AsWeakPtr()));
+}
+
+void ChromeBubbleManager::UserDismissBubbles(content::WebContents* context) {
+ CloseMatchingBubbles(context, FORCE_CLOSE, BUBBLE_CLOSE_CLOSE);
+}
« no previous file with comments | « chrome/browser/ui/chrome_bubble_manager.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698