Index: chrome/browser/ui/autofill/autofill_dialog_types.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h |
index 9c96b8bb97347df4c4482a3ccde74dc1b62e8dd2..52f2e8626d39a672aa0c4eda468e5d0042aec68d 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h |
@@ -28,9 +28,11 @@ class AutofillField; |
// dialog. |
struct DetailInput { |
enum Length { |
- SHORT, // Short inputs share a line with other short inputs. [ CVC ][ Zip ] |
- LONG, // Long inputs will be given their own full line. [ City ] |
- NONE, // Input will not be shown. |
+ SHORT, // Shares a line with other short inputs, like display: inline. |
+ SHORT_EOL, // Like SHORT but starts a new line directly afterward. Used to |
+ // separate groups of short inputs into different lines. |
+ LONG, // Will be given its own full line, like display: block. |
+ NONE, // Input will not be shown. |
}; |
// Used to determine which inputs share lines when laying out. |
@@ -38,8 +40,8 @@ struct DetailInput { |
ServerFieldType type; |
- // Placeholder text resource ID. |
- int placeholder_text_rid; |
+ // Text shown when the input is at its default state (e.g. empty). |
+ base::string16 placeholder_text; |
// A number between 0 and 1.0 that describes how much of the horizontal space |
// in the row should be allotted to this input. 0 is equivalent to 1. |