|
|
[Payments] Add combobox support to editors.
* Refactored the ValidationDelegate to support Textfield and Combobox.
* Added the COMBOBOX type for editors to specify when returning field definitions.
* Added a constructor to Combobox which takes ownership of its model.
* Added new ValidatingCombobox type which validates on first blur and subsequent changes.
* Re-enable flaky interactive_ui_tests PaymentRequest*CreditCard*Valid
BUG= 687601, 691185
TEST=CreditCardEditorViewController unit_tests, PaymentRequest* interactive_ui_tests
Review-Url: https://codereview.chromium.org/2689363004
Cr-Commit-Position: refs/heads/master@{#451005}
Committed: https://chromium.googlesource.com/chromium/src/+/0e33868f81c5c8a299e14c96b1ce6b49ce325ee5
Total comments: 5
Total comments: 1
Total comments: 18
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+622 lines, -105 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/credit_card_editor_view_controller.h
|
View
|
1
|
2 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
|
View
|
1
2
3
4
|
5 chunks |
+107 lines, -16 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/credit_card_editor_view_controller_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/editor_view_controller.h
|
View
|
1
|
5 chunks |
+35 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/editor_view_controller.cc
|
View
|
1
|
3 chunks |
+32 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_credit_card_editor_interactive_uitest.cc
|
View
|
1
2
3
4
|
3 chunks |
+88 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h
|
View
|
1
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc
|
View
|
1
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_sheet_controller.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/preselected_combobox_model.h
|
View
|
1
2
3
4
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/preselected_combobox_model.cc
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/validating_combobox.h
|
View
|
1
2
3
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/validating_combobox.cc
|
View
|
1
2
3
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/validating_textfield.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/validating_textfield.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/validating_textfield_unittest.cc
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/validation_delegate.h
|
View
|
1
2
3
4
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.h
|
View
|
1
|
4 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.cc
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 42 (30 generated)
|