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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_types.cc

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing includes Created 5 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/autofill/autofill_dialog_types.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.cc b/chrome/browser/ui/autofill/autofill_dialog_types.cc
index 2e4793d2106332e3c77ceebbd29fcf20f519c9fb..58864405f8102dec44c78ae1fc57bcedbbc0d819 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.cc
@@ -20,14 +20,6 @@ namespace autofill {
static const base::char16 kRangeSeparator = '|';
-// Street address is multi-line, except in countries where it shares a line
-// with other inputs (such as Coite d'Ivoire).
-bool DetailInput::IsMultiline() const {
- return (type == ADDRESS_HOME_STREET_ADDRESS ||
- type == ADDRESS_BILLING_STREET_ADDRESS) &&
- length == DetailInput::LONG;
-}
-
DialogNotification::DialogNotification() : type_(NONE) {}
DialogNotification::DialogNotification(Type type,
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | chrome/browser/ui/autofill/autofill_dialog_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698