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

Issue 2676663002: [Payments] Implements the credit card editor for Desktop UI (Closed)

Created:
3 years, 10 months ago by Mathieu
Modified:
3 years, 10 months ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Implements the credit card editor for Desktop UI Creates the EditorViewController base class, which will handle events and UI that is common between the address, contact and credit card editors. Introducing the CreditCardViewController as well, the first subclass possibly the most complex of the editors. BUG=687601 TEST=PaymentRequest* interactive_ui_tests Review-Url: https://codereview.chromium.org/2676663002 Cr-Commit-Position: refs/heads/master@{#448339} Committed: https://chromium.googlesource.com/chromium/src/+/34728b5bf15dfb51a5206ac8a109096f28cc21e6

Patch Set 1 : Initial #

Total comments: 26

Patch Set 2 : addressed comments #

Patch Set 3 : missing test #

Patch Set 4 : rebase #

Total comments: 10

Patch Set 5 : true rebase #

Patch Set 6 : addressed sky #

Total comments: 2

Patch Set 7 : formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+534 lines, -29 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/credit_card_editor_view_controller.h View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/editor_view_controller.h View 1 2 3 4 5 1 chunk +87 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/payments/editor_view_controller.cc View 1 2 3 4 5 1 chunk +144 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_method_view_controller.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_method_view_controller.cc View 1 2 3 4 5 3 chunks +42 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/payments/payment_request_credit_card_editor_interactive_uitest.cc View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.cc View 4 chunks +38 lines, -21 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest.cc View 1 2 3 4 5 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h View 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc View 6 chunks +51 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/payments/view_stack.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 44 (29 generated)
Mathieu
Hi Rouslan, PTAL at the whole thing sky for views/
3 years, 10 months ago (2017-02-02 19:14:19 UTC) #5
please use gerrit instead
Good stuff! https://codereview.chromium.org/2676663002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2676663002/diff/40001/chrome/app/generated_resources.grd#newcode15379 chrome/app/generated_resources.grd:15379: + <message name="IDS_PAYMENT_REQUEST_CREDIT_CARD_EDITOR_ADD_TITLE" desc="The title on top ...
3 years, 10 months ago (2017-02-02 20:19:03 UTC) #6
Mathieu
PTAL https://codereview.chromium.org/2676663002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2676663002/diff/40001/chrome/app/generated_resources.grd#newcode15379 chrome/app/generated_resources.grd:15379: + <message name="IDS_PAYMENT_REQUEST_CREDIT_CARD_EDITOR_ADD_TITLE" desc="The title on top of ...
3 years, 10 months ago (2017-02-03 02:18:57 UTC) #7
please use gerrit instead
lgtm
3 years, 10 months ago (2017-02-03 02:39:28 UTC) #12
Mathieu
Friendly ping Scott?
3 years, 10 months ago (2017-02-04 03:00:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676663002/80001
3 years, 10 months ago (2017-02-06 16:28:10 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/147903) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-06 16:30:23 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676663002/100001
3 years, 10 months ago (2017-02-06 16:46:47 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/147928) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-06 16:49:16 UTC) #28
sky
What is the plan for the mac side? Is the hope that it uses views? ...
3 years, 10 months ago (2017-02-06 17:05:11 UTC) #30
Mathieu
Hi Scott, PTAL Yeah the plan is to ship this with MacViews, possibly delaying the ...
3 years, 10 months ago (2017-02-06 17:46:24 UTC) #34
sky
LGTM https://codereview.chromium.org/2676663002/diff/160001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc File chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc (right): https://codereview.chromium.org/2676663002/diff/160001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc#newcode36 chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc:36: autofill::CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR, Make sure you run git cl format.
3 years, 10 months ago (2017-02-06 18:07:14 UTC) #37
Mathieu
Thanks https://codereview.chromium.org/2676663002/diff/160001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc File chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc (right): https://codereview.chromium.org/2676663002/diff/160001/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc#newcode36 chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc:36: autofill::CREDIT_CARD_EXP_DATE_2_DIGIT_YEAR, On 2017/02/06 18:07:14, sky wrote: > Make ...
3 years, 10 months ago (2017-02-06 18:09:17 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676663002/180001
3 years, 10 months ago (2017-02-06 18:09:57 UTC) #41
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 19:15:14 UTC) #44
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/34728b5bf15dfb51a5206ac8a109...

Powered by Google App Engine
This is Rietveld 408576698