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

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

Issue 85863003: Change DetailOutputMap to FieldValueMap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view.h ('k') | chrome/browser/ui/autofill/data_model_wrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
index 3e3f9423e9c9d50c1f8165a08e1ae330d4091f3b..1f035a999a1b76914e74e125d010d5802cc95f58 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
@@ -16,6 +16,7 @@
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/range/range.h"
+class FieldValueMap;
class GURL;
class Profile;
@@ -35,7 +36,6 @@ class MenuModel;
namespace autofill {
-typedef std::map<ServerFieldType, string16> FieldValueMap;
typedef std::map<ServerFieldType, gfx::Image> FieldIconMap;
// This class defines the interface to the controller that the dialog view sees.
@@ -150,13 +150,13 @@ class AutofillDialogViewDelegate {
// Decides whether the combination of all |inputs| is valid, returns a
// map of field types to validity messages.
virtual ValidityMessages InputsAreValid(DialogSection section,
- const DetailOutputMap& inputs) = 0;
+ const FieldValueMap& inputs) = 0;
// Called when the user changes the contents of a text field or activates it
// (by focusing and then clicking it). |was_edit| is true when the function
// was called in response to the user editing the text field.
virtual void UserEditedOrActivatedInput(DialogSection section,
- const DetailInput* input,
+ ServerFieldType type,
gfx::NativeView parent_view,
const gfx::Rect& content_bounds,
const string16& field_contents,
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view.h ('k') | chrome/browser/ui/autofill/data_model_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698