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

Unified Diff: chrome/browser/autofill/credit_card.h

Issue 6033010: Support autocompletion for HTMl5 tags:"email", "month" and "tel". (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add more tests, fix some format errors and change parsing. Created 9 years, 11 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/autofill/credit_card.h
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h
index ebb31610a81d813a6f23d646db98792f31ca6bd7..1d1623691189ba0e30fbbf04280b93f6504c2f38 100644
--- a/chrome/browser/autofill/credit_card.h
+++ b/chrome/browser/autofill/credit_card.h
@@ -73,6 +73,9 @@ class CreditCard : public FormGroup {
// Returns the credit card number.
const string16& number() const { return number_; }
+ // Special method to set value for HTML5 month input type.
+ void SetMonthInputInfo(const string16& value);
Ilya Sherman 2011/01/07 07:28:28 nit: "SetInfoForMonthInputType" might be a slightl
honten.org 2011/01/07 08:06:17 Yes, I wanted to declare it right after SetInfo(),
Ilya Sherman 2011/01/07 08:15:49 I would declare it right below that block of virtu
+
honten.org 2011/01/06 07:04:54 Implemented special method to parse month input ty
private:
// The month and year are zero if not present.
int Expiration4DigitYear() const { return expiration_year_; }

Powered by Google App Engine
This is Rietveld 408576698