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

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

Issue 2853163002: [Web Payments] Implement proper focusing in Payment Request (Closed)
Patch Set: Allow ViewControllers to specify their first focused view Created 3 years, 8 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_row_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_row_view.h b/chrome/browser/ui/views/payments/payment_request_row_view.h
index e9829db41cbf030cb48498805878cfd750bb41f7..52ebc498bbb334541636c19a079c88573d3b6a05 100644
--- a/chrome/browser/ui/views/payments/payment_request_row_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_row_view.h
@@ -22,6 +22,10 @@ class PaymentRequestRowView : public views::CustomButton {
// views::CustomButton:
void StateChanged(ButtonState old_state) override;
+ // views::View:
+ void OnFocus() override;
+ void OnBlur() override;
+
private:
bool clickable_;

Powered by Google App Engine
This is Rietveld 408576698