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

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

Issue 218993006: Extracting the remaining ManagePasswordsBubbleView::Init code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vabr feedback. Created 6 years, 9 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 5a383e287c40de14c8bf53288b9e0dbfe55b8cd4..405094065a3a17a68d057f8429de412777b8c6a5 100644
--- a/chrome/browser/ui/views/passwords/manage_password_item_view.h
+++ b/chrome/browser/ui/views/passwords/manage_password_item_view.h
@@ -19,11 +19,14 @@ class ManagePasswordItemView : public views::View,
public views::ButtonListener,
public views::LinkListener {
public:
+ enum Position { FIRST_ITEM, SUBSEQUENT_ITEM };
+
ManagePasswordItemView(
ManagePasswordsBubbleModel* manage_passwords_bubble_model,
autofill::PasswordForm password_form,
int field_1_width,
- int field_2_width);
+ int field_2_width,
+ Position position);
static base::string16 GetPasswordDisplayString(
const base::string16& password);

Powered by Google App Engine
This is Rietveld 408576698