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

Unified Diff: chrome/browser/ui/views/payments/validation_delegate.h

Issue 2896263002: [Payments] Changes to validation in the Credit Card editor (Closed)
Patch Set: rebase Created 3 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/views/payments/validation_delegate.h
diff --git a/chrome/browser/ui/views/payments/validation_delegate.h b/chrome/browser/ui/views/payments/validation_delegate.h
index 197f3ef534ab9b0f043174f8472d8a6dbf787981..96cafdfc333d63374262ec7bc015aaa17dd2497d 100644
--- a/chrome/browser/ui/views/payments/validation_delegate.h
+++ b/chrome/browser/ui/views/payments/validation_delegate.h
@@ -27,8 +27,10 @@ class ValidationDelegate {
virtual bool IsValidCombobox(views::Combobox* combobox) = 0;
// Notifications to let delegate react to input field changes and also let
- // caller know if the new values are valid.
- virtual bool TextfieldValueChanged(views::Textfield* textfield) = 0;
+ // caller know if the new values are valid. |was_blurred| indicates if the
+ // field has yet to be blurred once by the user.
+ virtual bool TextfieldValueChanged(views::Textfield* textfield,
+ bool was_blurred) = 0;
virtual bool ComboboxValueChanged(views::Combobox* combobox) = 0;
// Lets the delegate know that the model of the combobox has changed, e.g.,

Powered by Google App Engine
This is Rietveld 408576698