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

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

Issue 2881643002: Focus first invalid field of payment request editor (Closed)
Patch Set: Updated API to create field views other small tweaks. 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/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index f793e84a6e396c9bd8109bfab6a1a691334a0b71..f87d449e20b7e8a05e0b5fb26b678be911c208ff 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -86,6 +86,9 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
PaymentRequestDialogView::ObserverForTest* observer);
~PaymentRequestDialogView() override;
+ // views::View
+ void RequestFocus() override;
+
// views::WidgetDelegate:
ui::ModalType GetModalType() const override;
views::View* GetInitiallyFocusedView() override;

Powered by Google App Engine
This is Rietveld 408576698