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

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

Issue 13607006: rAc: don't clobber user input when accepting autofill popup suggestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a couple more bugs Created 7 years, 8 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 10877f4048aefefa0d63e3dc1d2f0a6421ac4e18..f144d8c32c24fa26d2dbb4d47402fe85101757cf 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
@@ -54,6 +54,13 @@ enum DialogSection {
SECTION_SHIPPING,
};
+// Used by UpdateSection() to indicate what to do with data that the user has
+// already input into textfields.
+enum UserInputAction {
+ CLEAR_USER_INPUT,
+ KEEP_USER_INPUT,
+};
+
// A notification to show in the autofill dialog. Ranges from information to
// seriously scary security messages, and will give you the color it should be
// displayed (if you ask it).

Powered by Google App Engine
This is Rietveld 408576698