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

Unified Diff: chrome/browser/ui/cocoa/passwords/credentials_selection_view.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/credentials_selection_view.h
diff --git a/chrome/browser/ui/cocoa/passwords/credentials_selection_view.h b/chrome/browser/ui/cocoa/passwords/credentials_selection_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..d2440ac4f06418d85ff8ad9a7c88d7dc6735b7e2
--- /dev/null
+++ b/chrome/browser/ui/cocoa/passwords/credentials_selection_view.h
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// 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_CREDENTIALS_SELECTION_VIEW_H_
+#define CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
+
+#import <Cocoa/Cocoa.h>
+
+#import "base/mac/scoped_nsobject.h"
+#include "components/autofill/core/common/password_form.h"
+#include "components/password_manager/core/common/password_manager_ui.h"
+#import "ui/base/cocoa/tracking_area.h"
vasilii 2015/12/15 15:58:01 these 3 headers seem unused.
dvadym 2015/12/16 14:16:30 Done, thanks.
+
+class ManagePasswordsBubbleModel;
+
+// Shows a combobox for choosing username and obscured password in a single row.
+@interface CredentialsSelectionView : NSView {
+ @private
+ ManagePasswordsBubbleModel* model_; // weak
+ base::scoped_nsobject<NSPopUpButton> usernamePopUpButton_;
+ base::scoped_nsobject<NSSecureTextField> passwordField_;
+}
+- (id)initWithModel:(ManagePasswordsBubbleModel*)model;
+- (const autofill::PasswordForm*)getSelectedCredentials;
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698