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

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

Issue 12208070: allow wallet items to appear in requestAutocomplete UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: relative patchset again 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_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index cc6774eb4e91b9d1e0c494330c1e5f027268acf9..93d50fb0514f7f1f87e4781080d12bfa7c4aa21a 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -40,6 +40,7 @@ class WebContents;
namespace autofill {
class AutofillDialogView;
+class DataModelWrapper;
// This class drives the dialog that appears when a site uses the imperative
// autocomplete API to fill out a form.
@@ -181,6 +182,11 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// menu.
bool IsCompleteProfile(const AutofillProfile& profile);
+ // Creates a DataModelWrapper item for the item that's checked in the
+ // suggestion model for |section|. This may represent Autofill
+ // data or Wallet data, depending on whether Wallet is currently enabled.
+ DataModelWrapper* CreateWrapper(DialogSection section);
Ilya Sherman 2013/02/12 22:50:34 Please return a scoped_ptr<>
Evan Stade 2013/02/13 00:11:58 Done.
+
// Fills in |section|-related fields in |output_| according to the state of
// |view_|.
void FillOutputForSection(DialogSection section);

Powered by Google App Engine
This is Rietveld 408576698