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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_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
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_password_item_view.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
index 86035dcc67f012543e633be1c2f4901b9379fa09..4e547623219de2d9da7326445542141fcac31b1e 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -170,9 +170,9 @@ ManagePasswordsBubbleView::PendingView::PendingView(
// Create the pending credential item, save button and refusal combobox.
ManagePasswordItemView* item =
- new ManagePasswordItemView(parent_->model(),
- parent_->model()->pending_credentials(),
- ManagePasswordItemView::FIRST_ITEM);
+ new ManagePasswordItemView(parent->model(),
+ parent->model()->pending_credentials(),
+ password_manager::ui::FIRST_ITEM);
save_button_ = new views::BlueButton(
this, l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SAVE_BUTTON));
save_button_->SetFontList(ui::ResourceBundle::GetSharedInstance().GetFontList(
@@ -329,8 +329,8 @@ ManagePasswordsBubbleView::ManageView::ManageView(
parent_->model(),
*i->second,
i == parent_->model()->best_matches().begin()
- ? ManagePasswordItemView::FIRST_ITEM
- : ManagePasswordItemView::SUBSEQUENT_ITEM);
+ ? password_manager::ui::FIRST_ITEM
+ : password_manager::ui::SUBSEQUENT_ITEM);
layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
layout->AddView(item);
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_password_item_view.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698