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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_dialog_view_ids.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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
7 7
8 #include "components/autofill/core/browser/field_types.h" 8 #include "components/autofill/core/browser/field_types.h"
9 9
10 // This defines an enumeration of IDs that can uniquely identify a view within 10 // This defines an enumeration of IDs that can uniquely identify a view within
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Used in selectable rows. Each row in a view reuses this ID, but the ID is 59 // Used in selectable rows. Each row in a view reuses this ID, but the ID is
60 // unique at the scope of the parent row. 60 // unique at the scope of the parent row.
61 CHECKMARK_VIEW, 61 CHECKMARK_VIEW,
62 62
63 // Used to label the error labels with an offset, which gets added to 63 // Used to label the error labels with an offset, which gets added to
64 // the Autofill type value they represent (for tests). 64 // the Autofill type value they represent (for tests).
65 ERROR_LABEL_OFFSET, 65 ERROR_LABEL_OFFSET,
66 66
67 // The CVC text field in the unmask sheet. 67 // The CVC text field in the unmask sheet.
68 CVC_PROMPT_TEXT_FIELD, 68 CVC_PROMPT_TEXT_FIELD,
69
70 // The following are the ids for the individual sheets.
71 CONTACT_INFO_EDITOR_SHEET,
72 CREDIT_CARD_EDITOR_SHEET,
73 CVC_UNMASK_SHEET,
74 SHIPPING_ADDRESS_EDITOR_SHEET,
69 }; 75 };
70 76
71 } // namespace payments 77 } // namespace payments
72 78
73 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 79 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698