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

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

Issue 2896263002: [Payments] Changes to validation in the Credit Card editor (Closed)
Patch Set: Initial 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 1b80408b942e0ad435d3e0e85c6a96519ff7a530..0994a461e79ef0a7c0e08ac65a3bf781759ab83e 100644
--- a/chrome/browser/ui/views/payments/validation_delegate.h
+++ b/chrome/browser/ui/views/payments/validation_delegate.h
@@ -21,8 +21,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