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

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

Issue 130563003: Change all other AutofillDialogView methods with a const DetailInput& as a param (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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/testable_autofill_dialog_view.h
diff --git a/chrome/browser/ui/autofill/testable_autofill_dialog_view.h b/chrome/browser/ui/autofill/testable_autofill_dialog_view.h
index 5ae09b80ad66f35cbead76b77af7982e909a64b0..13a23db31fc387eb0b510ac9ddb28e0b89c37c23 100644
--- a/chrome/browser/ui/autofill/testable_autofill_dialog_view.h
+++ b/chrome/browser/ui/autofill/testable_autofill_dialog_view.h
@@ -19,19 +19,19 @@ class TestableAutofillDialogView {
// Simulates the user pressing 'Cancel' to abort the dialog.
virtual void CancelForTesting() = 0;
- // Returns the actual contents of the input which is modelled by |input|.
- virtual base::string16 GetTextContentsOfInput(const DetailInput& input) = 0;
+ // Returns the actual contents of the input of |type|.
+ virtual base::string16 GetTextContentsOfInput(ServerFieldType type) = 0;
- // Sets the actual contents of the input which is modelled by |input|.
- virtual void SetTextContentsOfInput(const DetailInput& input,
+ // Sets the actual contents of the input of |type|.
+ virtual void SetTextContentsOfInput(ServerFieldType type,
const base::string16& contents) = 0;
// Sets the content of the extra field for a section.
virtual void SetTextContentsOfSuggestionInput(DialogSection section,
const base::string16& text) = 0;
- // Simulates a user activatino of the input which is modelled by |input|.
- virtual void ActivateInput(const DetailInput& input) = 0;
+ // Simulates a user activation of the input of |type|.
+ virtual void ActivateInput(ServerFieldType type) = 0;
// Get the size of the entire view.
virtual gfx::Size GetSize() const = 0;

Powered by Google App Engine
This is Rietveld 408576698