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

Unified Diff: components/autofill/core/browser/suggestion.cc

Issue 2531223003: Expanded Autofill Credit Card Popup Layout Experiment in Android. (Closed)
Patch Set: Adds clarification for SkColor Created 4 years, 1 month 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: components/autofill/core/browser/suggestion.cc
diff --git a/components/autofill/core/browser/suggestion.cc b/components/autofill/core/browser/suggestion.cc
index 22d4ac7c89ce6ed4410db40d59886ffb164f3fc1..754ede930f815fa39be9d274ed495f6c14fdf8c0 100644
--- a/components/autofill/core/browser/suggestion.cc
+++ b/components/autofill/core/browser/suggestion.cc
@@ -10,7 +10,8 @@ namespace autofill {
Suggestion::Suggestion()
: frontend_id(0),
- match(PREFIX_MATCH) {
+ match(PREFIX_MATCH),
+ is_value_bold(false) {
}
Suggestion::Suggestion(const Suggestion& other)
@@ -19,13 +20,15 @@ Suggestion::Suggestion(const Suggestion& other)
value(other.value),
label(other.label),
icon(other.icon),
- match(other.match) {
+ match(other.match),
+ is_value_bold(other.is_value_bold) {
}
Suggestion::Suggestion(const base::string16& v)
: frontend_id(0),
value(v),
- match(PREFIX_MATCH) {
+ match(PREFIX_MATCH),
+ is_value_bold(false) {
}
Suggestion::Suggestion(const std::string& v,
@@ -36,7 +39,8 @@ Suggestion::Suggestion(const std::string& v,
value(base::UTF8ToUTF16(v)),
label(base::UTF8ToUTF16(l)),
icon(base::UTF8ToUTF16(i)),
- match(PREFIX_MATCH) {
+ match(PREFIX_MATCH),
+ is_value_bold(false) {
}
Suggestion::~Suggestion() {

Powered by Google App Engine
This is Rietveld 408576698