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

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

Issue 12208070: allow wallet items to appear in requestAutocomplete UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 7 years, 10 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.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h
index 16a472024868cfe6d1eb0bb4a76245330d43c8fa..75b9641b2363d5fd9128c3320a2bb277ccec8837 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_forward.h"
#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 {

Powered by Google App Engine
This is Rietveld 408576698