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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_view.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: merge 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_view.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view.h b/chrome/browser/ui/autofill/autofill_dialog_view.h
index fdcbf6a8fd4b7048ea6c582612ec6d544aa5754c..0eea9e9975e986a18d7aa9e87f31a855d325cd9b 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_view.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_view.h
@@ -35,8 +35,9 @@ class AutofillDialogView {
// Updates the button strip based on the current controller state.
virtual void UpdateButtonStrip() = 0;
- // Called when the contents of a section have changed.
- virtual void UpdateSection(DialogSection section) = 0;
+ // Called when the contents of a section have changed. Depending on |action|,
+ // the view may also clobber all manual inputs.
+ virtual void UpdateSection(DialogSection section, UserInputAction action) = 0;
// Fills |output| with data the user manually input.
virtual void GetUserInput(DialogSection section, DetailOutputMap* output) = 0;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_types.h ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698