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

Issue 2908033002: [Payment Request] Refactors edit view controller (Closed)

Created:
3 years, 6 months ago by Moe
Modified:
3 years, 6 months ago
Reviewers:
lpromero
CC:
chromium-reviews, estade+watch_chromium.org, ios-reviews_chromium.org, ios-reviews+showcase_chromium.org, ios-reviews+chrome_chromium.org, marq+watch_chromium.org, mathp+autofillwatch_chromium.org, noyau+watch_chromium.org, pkl (ping after 24h if needed), rogerm+autofillwatch_chromium.org, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payment Request] Refactors edit view controller -Adds support for switch fields in the PaymentRequestEditViewController. -Refactors PaymentRequestEditViewController subclasses into their parent. BUG=602666 TBR=jdonnelly@ Review-Url: https://codereview.chromium.org/2908033002 Cr-Commit-Position: refs/heads/master@{#475768} Committed: https://chromium.googlesource.com/chromium/src/+/3f3baed790b15159e19c0ca7dfd03e150007d0a8

Patch Set 1 : Initial #

Total comments: 4

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -739 lines) Patch
M ios/chrome/browser/ui/autofill/autofill_ui_type.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/payments/BUILD.gn View 3 chunks +0 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_coordinator.h View 2 chunks +1 line, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_coordinator.mm View 5 chunks +8 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_coordinator_unittest.mm View 4 chunks +12 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_mediator.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
D ios/chrome/browser/ui/payments/address_edit_view_controller.h View 1 chunk +0 lines, -39 lines 0 comments Download
D ios/chrome/browser/ui/payments/address_edit_view_controller.mm View 1 chunk +0 lines, -69 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_coordinator.h View 2 chunks +1 line, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_coordinator.mm View 6 chunks +12 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_coordinator_unittest.mm View 7 chunks +22 lines, -20 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_mediator.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm View 1 5 chunks +22 lines, -20 lines 0 comments Download
D ios/chrome/browser/ui/payments/credit_card_edit_view_controller.h View 1 chunk +0 lines, -46 lines 0 comments Download
D ios/chrome/browser/ui/payments/credit_card_edit_view_controller.mm View 1 chunk +0 lines, -213 lines 0 comments Download
D ios/chrome/browser/ui/payments/credit_card_edit_view_controller_data_source.h View 1 chunk +0 lines, -21 lines 0 comments Download
D ios/chrome/browser/ui/payments/credit_card_edit_view_controller_unittest.mm View 1 chunk +0 lines, -181 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller.h View 1 chunk +10 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm View 1 16 chunks +142 lines, -46 lines 0 comments Download
D ios/chrome/browser/ui/payments/payment_request_edit_view_controller+internal.h View 1 chunk +0 lines, -38 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller_unittest.mm View 1 5 chunks +20 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_editor_field.h View 1 chunk +1 line, -0 lines 0 comments Download
M ios/showcase/payments/sc_payments_editor_coordinator.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (18 generated)
Moe
Hi Louis, This is a long-awaited CL to get rid of inheritance in editor view ...
3 years, 6 months ago (2017-05-29 03:47:40 UTC) #7
lpromero
Please update the description to remove the mention of the renaming, IIUC. lgtm! https://codereview.chromium.org/2908033002/diff/40001/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm File ...
3 years, 6 months ago (2017-05-30 12:35:45 UTC) #10
Moe
Thank you. TBR=jdonnelly@ for ios/chrome/browser/ui/autofill/ https://codereview.chromium.org/2908033002/diff/40001/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm File ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm (right): https://codereview.chromium.org/2908033002/diff/40001/ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm#newcode119 ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm:119: - (UIImage*)iconIdentifyingEditorFied:(EditorField*)field { On ...
3 years, 6 months ago (2017-05-31 03:21:11 UTC) #18
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/2908033002/60001
3 years, 6 months ago (2017-05-31 03:21:43 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 03:27:41 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3f3baed790b15159e19c0ca7dfd0...

Powered by Google App Engine
This is Rietveld 408576698