|
|
[Payments] Desktop: implement shipping address/option change
Now when an address/shipping option is selected, the information
goes to the merchant and when updateWith eventually gets called,
the information is updated in the UI.
Moved the selection of the shipping option to the spec, as we merely
forward the selection event to the merchant and recompute from the
PaymentDetails when updateWith is called.
Modified DialogEventObserver so that it can observe a sequence of
events.
BUG= 707240
TEST=components_unittests, browser_tests
Review-Url: https://codereview.chromium.org/2789093002
Cr-Commit-Position: refs/heads/master@{#461537}
Committed: https://chromium.googlesource.com/chromium/src/+/151bd31ea040cb745cdc07e59d4b097186ec3ab3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+512 lines, -130 lines) |
Patch |
 |
M |
chrome/browser/ui/views/payments/order_summary_view_controller.h
|
View
|
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/order_summary_view_controller.cc
|
View
|
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/payments/order_summary_view_controller_browsertest.cc
|
View
|
|
1 chunk |
+124 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_browsertest.cc
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_browsertest_base.h
|
View
|
|
6 chunks |
+27 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_browsertest_base.cc
|
View
|
|
5 chunks |
+81 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_dialog_view.h
|
View
|
|
4 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_dialog_view.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h
|
View
|
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_request_views_util.cc
|
View
|
|
4 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_sheet_view_controller.h
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
|
View
|
1
2
3
|
4 chunks |
+22 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/profile_list_view_controller.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/profile_list_view_controller.cc
|
View
|
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/payments/shipping_option_view_controller.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request.cc
|
View
|
1
2
3
4
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_spec.h
|
View
|
|
5 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_spec.cc
|
View
|
|
2 chunks |
+36 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_spec_unittest.cc
|
View
|
|
3 chunks |
+50 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_state.h
|
View
|
1
2
3
4
5
|
5 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_state.cc
|
View
|
|
6 chunks |
+14 lines, -26 lines |
0 comments
|
Download
|
 |
M |
components/payments/content/payment_request_state_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -22 lines |
0 comments
|
Download
|
Total messages: 30 (22 generated)
|