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

Unified Diff: chrome/browser/ui/views/payments/payment_request_sheet_controller.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/payment_request_sheet_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
index ebc2a0eef2df7420b8a222a4d1510bb2e4c327ee..5adcd3e368d207923b4ccf9bdb2658b8e182dd34 100644
--- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
+++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
@@ -63,6 +63,9 @@ class PaymentRequestSheetController : public views::ButtonListener {
// calls FillContentView again to re-populate it with updated views.
void UpdateContentView();
+ // Update the focus to |focused_view|.
+ void UpdateFocus(views::View* focused_view);
+
// View controllers should call this if they have modified some layout aspect
// (e.g., made it taller or shorter), and want to relayout the whole pane.
void RelayoutPane();

Powered by Google App Engine
This is Rietveld 408576698