Chromium Code Reviews| 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 16a472024868cfe6d1eb0bb4a76245330d43c8fa..18329b895e19bcb13ca4eaecf412e0003b00eb2b 100644 |
| --- a/chrome/browser/ui/autofill/autofill_dialog_types.h |
| +++ b/chrome/browser/ui/autofill/autofill_dialog_types.h |
| @@ -8,10 +8,13 @@ |
| #include <map> |
| #include <vector> |
| +#include "base/callback.h" |
|
Ilya Sherman
2013/02/12 22:50:34
nit: callback_forward
Evan Stade
2013/02/13 00:11:58
Done.
|
| #include "base/string16.h" |
| #include "chrome/browser/autofill/field_types.h" |
| #include "third_party/skia/include/core/SkColor.h" |
| +class AutofillField; |
| + |
| namespace autofill { |
| // This struct describes a single input control for the imperative autocomplete |
| @@ -34,6 +37,10 @@ struct DetailInput { |
| string16 autofilled_value; |
| }; |
| +// Determines whether |input| and |field| match. |
| +typedef base::Callback<bool(const DetailInput& input, |
| + const AutofillField& field)> InputFieldComparator; |
| + |
| // Sections of the dialog --- all fields that may be shown to the user fit under |
| // one of these sections. |
| enum DialogSection { |