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

Unified Diff: chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm

Issue 1515553006: Change password bubble for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, clean-up Created 5 years 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/passwords/passwords_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm
index 6bd11ee87b0ca59b8bfd92ffc05bdf244471dc2d..96e7ed5f3448062afa84dba8ac816cf02dda9e37 100644
--- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.mm
@@ -15,6 +15,7 @@
#import "chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.h"
#import "chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.h"
#import "chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.h"
+#import "chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h"
#include "ui/base/cocoa/window_size_constants.h"
@interface ManagePasswordsBubbleController ()
@@ -62,6 +63,11 @@
currentController_.reset([[SavePendingPasswordViewController alloc]
initWithModel:model_
delegate:self]);
+ } else if (model_->state() ==
+ password_manager::ui::PENDING_PASSWORD_UPDATE_STATE) {
+ currentController_.reset([[UpdatePendingPasswordViewController alloc]
+ initWithModel:model_
+ delegate:self]);
} else if (model_->state() == password_manager::ui::CONFIRMATION_STATE) {
currentController_.reset(
[[ManagePasswordsBubbleConfirmationViewController alloc]

Powered by Google App Engine
This is Rietveld 408576698