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

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

Issue 2866443002: [Web Payments] Handle "Enter" accelerator when there's a primary action (Closed)
Patch Set: Add tests to sheets that handle the enter accelerator 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/credit_card_editor_view_controller.h
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
index ccc555f1069297254ab3f10f930535d5ac1f8edc..f400dd044a8898be7e7df17b560f84edf42389de 100644
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
@@ -88,6 +88,8 @@ class CreditCardEditorViewController : public EditorViewController {
DISALLOW_COPY_AND_ASSIGN(CreditCardValidationDelegate);
};
+ bool GetSheetId(DialogViewID* sheet_id) override;
+
// Called when |credit_card_to_edit_| was successfully edited.
base::OnceClosure on_edited_;
// Called when a new card was added. The const reference is short-lived, and

Powered by Google App Engine
This is Rietveld 408576698