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

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

Issue 2881643002: Focus first invalid field of payment request editor (Closed)
Patch Set: Last final nit :-) 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/validating_combobox.h
diff --git a/chrome/browser/ui/views/payments/validating_combobox.h b/chrome/browser/ui/views/payments/validating_combobox.h
index 1ed212a879a47c4be1bed7759dc5b5d8b285f8f3..2a4ad8fb484582b37c1a8c25ca5e95b7e9bfe41a 100644
--- a/chrome/browser/ui/views/payments/validating_combobox.h
+++ b/chrome/browser/ui/views/payments/validating_combobox.h
@@ -34,6 +34,9 @@ class ValidatingCombobox : public views::Combobox,
// ui::ComboboxModelObserver:
void OnComboboxModelChanged(ui::ComboboxModel* model) override;
+ // Identifies whether the current content if valid or not.
+ bool IsValid();
+
private:
// Will call to the ValidationDelegate to validate the contents of the
// combobox.

Powered by Google App Engine
This is Rietveld 408576698