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

Unified Diff: chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h

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/update_pending_password_view_controller.h
diff --git a/chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.h b/chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h
similarity index 50%
copy from chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.h
copy to chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h
index a100858ce4dba5c13a07f75d4e80fd3effda7c7c..a1f46025a2bbe219be4caf37150742355cbe5f0e 100644
--- a/chrome/browser/ui/cocoa/passwords/save_pending_password_view_controller.h
+++ b/chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h
@@ -2,32 +2,35 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_PENDING_SAVE_PASSWORD_VIEW_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_PASSWORDS_PENDING_SAVE_PASSWORD_VIEW_CONTROLLER_H_
+#ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLER_H_
+#define CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLER_H_
#import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h"
class ManagePasswordsBubbleModel;
+@class CredentialsSelectionView;
@class PasswordsListViewController;
// Manages the view that offers to save the user's password.
-@interface SavePendingPasswordViewController
+@interface UpdatePendingPasswordViewController
: PendingPasswordViewController<NSTextViewDelegate> {
@private
- base::scoped_nsobject<NSButton> saveButton_;
- base::scoped_nsobject<NSButton> neverButton_;
+ base::scoped_nsobject<NSButton> updateButton_;
+ base::scoped_nsobject<NSButton> nopeButton_;
base::scoped_nsobject<PasswordsListViewController> passwordItem_;
+ base::scoped_nsobject<CredentialsSelectionView>
+ passwordWithUsernameSelectionItem_;
}
-- (SavePendingPasswordViewController*)
+- (UpdatePendingPasswordViewController*)
initWithModel:(ManagePasswordsBubbleModel*)model
delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate;
- (NSView*)createPasswordView;
- (NSArray*)createButtonsAndAddThemToView:(NSView*)view;
@end
-@interface SavePendingPasswordViewController (Testing)
-@property(readonly) NSButton* saveButton;
-@property(readonly) NSButton* neverButton;
+@interface UpdatePendingPasswordViewController (Testing)
+@property(readonly) NSButton* updateButton;
+@property(readonly) NSButton* noButton;
@end
-#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PENDING_SAVE_PASSWORD_VIEW_CONTROLLER_H_
+#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698