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

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

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.cc
diff --git a/chrome/browser/ui/views/passwords/manage_password_item_view.cc b/chrome/browser/ui/views/passwords/manage_password_item_view.cc
index c0dc2e4d395f4595b2617a455fd19b65145632d7..7b914d6baa030ce1e872bd759ed287383e900dfc 100644
--- a/chrome/browser/ui/views/passwords/manage_password_item_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_password_item_view.cc
@@ -194,7 +194,7 @@ ManagePasswordItemView::UndoView::~UndoView() {
ManagePasswordItemView::ManagePasswordItemView(
ManagePasswordsBubbleModel* manage_passwords_bubble_model,
autofill::PasswordForm password_form,
- Position position)
+ password_manager::ui::PasswordItemPosition position)
: model_(manage_passwords_bubble_model),
password_form_(password_form),
delete_password_(false) {
@@ -205,7 +205,7 @@ ManagePasswordItemView::ManagePasswordItemView(
// on both the top and bottom. When it's in the middle of a list, or at the
// end, it has a border only on the bottom.
SetBorder(views::Border::CreateSolidSidedBorder(
- position == FIRST_ITEM ? 1 : 0,
+ position == password_manager::ui::FIRST_ITEM ? 1 : 0,
0,
1,
0,

Powered by Google App Engine
This is Rietveld 408576698