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 a4d8ae93b5c033f48e28233b1ad57b0aff4fb118..45056c800802b9cc8918d9648594c8c8b4c64578 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h |
@@ -12,6 +12,7 @@ |
#include "base/string16.h" |
#include "components/autofill/browser/field_types.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/gfx/image/image.h" |
class AutofillField; |
@@ -85,6 +86,7 @@ class DialogNotification { |
bool HasCheckbox() const; |
const string16& display_text() const { return display_text_; } |
+ Type type() const { return type_; } |
private: |
Type type_; |
@@ -98,6 +100,20 @@ enum DialogSignedInState { |
SIGNED_IN, |
}; |
+struct SuggestionState { |
+ SuggestionState(const string16& text, |
+ const gfx::Image& icon, |
+ const string16& extra_text, |
+ const gfx::Image& extra_icon, |
+ bool editable); |
+ ~SuggestionState(); |
+ string16 text; |
+ gfx::Image icon; |
+ string16 extra_text; |
+ gfx::Image extra_icon; |
+ bool editable; |
+}; |
+ |
typedef std::vector<DetailInput> DetailInputs; |
typedef std::map<const DetailInput*, string16> DetailOutputMap; |