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

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

Issue 15979002: Making credit card number un-editable in Wallet mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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 d2ea0681aa9aaa0f453adca4a6afdf180ef119ac..4fc2f857f15e53ceedf5144da853d78ef01b701c 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -398,6 +398,9 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
// Whether the user has chosen to enter all new data in at least one section.
bool IsManuallyEditingAnySection() const;
+ // Whether a particular DetailInput in |section| should be edited or not.
+ bool InputIsEditable(const DetailInput& input, DialogSection section) const;
+
// Whether all of the input fields currently showing in the dialog have valid
// contents.
bool AllSectionsAreValid() const;

Powered by Google App Engine
This is Rietveld 408576698