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

Unified Diff: chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm

Issue 2808823002: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (rebase) Created 3 years, 8 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: chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm b/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
index a66b2ee678c91e88d4eb4e92e9924821a395c60e..cd2cf18e6a9dea9ff7581e83c4e1a83cdd5981a9 100644
--- a/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
+++ b/chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm
@@ -75,7 +75,9 @@ void TabDialogsCocoa::ShowManagePasswordsBubble(bool user_action) {
}
void TabDialogsCocoa::HideManagePasswordsBubble() {
- // The bubble is closed when it loses the focus.
+ // Close toolkit-views bubble.
+ // In Cocoa code path the bubble is closed when it loses the focus.
+ ManagePasswordsBubbleCocoa::CloseCurrentBubble();
tapted 2017/04/19 03:31:06 I think we can call ManagePasswordsBubbleView::Clo
varkha 2017/04/19 08:34:16 Done (and same for the ShowManagePasswordsBubble -
}
base::WeakPtr<ValidationMessageBubble> TabDialogsCocoa::ShowValidationMessage(

Powered by Google App Engine
This is Rietveld 408576698