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

Unified Diff: components/autofill/browser/wallet/wallet_items.cc

Issue 12755019: Add 2-lines summary to CC/Address for Wallet items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « components/autofill/browser/wallet/wallet_items.h ('k') | ui/base/models/menu_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/wallet/wallet_items.cc
diff --git a/components/autofill/browser/wallet/wallet_items.cc b/components/autofill/browser/wallet/wallet_items.cc
index 6a779ac9561b81e1d363c0539d3cb20be56593b5..8175c359a15a2071274eec9a73e82ec1bd5016df 100644
--- a/components/autofill/browser/wallet/wallet_items.cc
+++ b/components/autofill/browser/wallet/wallet_items.cc
@@ -206,6 +206,15 @@ bool WalletItems::HasRequiredAction(RequiredAction action) const {
action) != required_actions_.end();
}
+// TODO(aruslan): improve this stub implementation.
+string16 WalletItems::MaskedInstrument::DisplaySummaryLine1() const {
+ return descriptive_name();
ahutter 2013/03/12 00:03:13 Not sure how often this is actually populated... Y
aruslan 2013/03/13 00:00:00 Yes, I think we would have to revisit this anyway.
+}
+
+string16 WalletItems::MaskedInstrument::DisplaySummaryLine2() const {
+ return address().DisplayName();
+}
+
const gfx::Image& WalletItems::MaskedInstrument::CardIcon() const {
int idr = 0;
switch (type_) {
« no previous file with comments | « components/autofill/browser/wallet/wallet_items.h ('k') | ui/base/models/menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698