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

Unified Diff: chrome/browser/ui/views/passwords/manage_password_item_view.h

Issue 438893002: Add ManagePasswordItemViewController and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix constants in test Created 6 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
Index: chrome/browser/ui/views/passwords/manage_password_item_view.h
diff --git a/chrome/browser/ui/views/passwords/manage_password_item_view.h b/chrome/browser/ui/views/passwords/manage_password_item_view.h
index f052d12acfe143f779c64a21ea74d49772396796..9cc96af2e9bd236178a80114445e1ea84a9e40e0 100644
--- a/chrome/browser/ui/views/passwords/manage_password_item_view.h
+++ b/chrome/browser/ui/views/passwords/manage_password_item_view.h
@@ -7,6 +7,7 @@
#include "chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h"
#include "components/autofill/core/common/password_form.h"
+#include "components/password_manager/core/common/password_manager_ui.h"
class ManagePasswordsBubbleModel;
@@ -67,12 +68,10 @@ class ManagePasswordItemView : public views::View {
ManagePasswordItemView* parent_;
};
- enum Position { FIRST_ITEM, SUBSEQUENT_ITEM };
-
ManagePasswordItemView(
ManagePasswordsBubbleModel* manage_passwords_bubble_model,
autofill::PasswordForm password_form,
- Position position);
+ password_manager::ui::PasswordItemPosition position);
private:
virtual ~ManagePasswordItemView();

Powered by Google App Engine
This is Rietveld 408576698