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

Issue 1138653003: Move card unmask interfaces and controller into the autofill component. (Closed)

Created:
5 years, 7 months ago by Justin Donnelly
Modified:
5 years, 7 months ago
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org, tfarina, bondd
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move card unmask interfaces and controller into the autofill component. These will be used in an upcoming CL implementing the iOS version of the card unmask prompt view. BUG=484806 Committed: https://crrev.com/982b06f6e72d19b019676c8f51c6a8f63e580c19 Cr-Commit-Position: refs/heads/master@{#330537}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move images into components/resources #

Patch Set 3 : Add image IDs to iOS whitelist #

Total comments: 2

Patch Set 4 : Edit factory function comment #

Total comments: 3

Patch Set 5 : Merge (esp for estade's new card link CL) #

Patch Set 6 : Fix missing override declaration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -1235 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 2 chunks +0 lines, -30 lines 0 comments Download
D chrome/app/theme/default_100_percent/common/credit_card_cvc_hint.png View 1 Binary file 0 comments Download
D chrome/app/theme/default_100_percent/common/credit_card_cvc_hint_amex.png View 1 Binary file 0 comments Download
D chrome/app/theme/default_200_percent/common/credit_card_cvc_hint.png View 1 Binary file 0 comments Download
D chrome/app/theme/default_200_percent/common/credit_card_cvc_hint_amex.png View 1 Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h View 1 2 3 4 5 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc View 3 chunks +10 lines, -11 lines 0 comments Download
D chrome/browser/ui/autofill/card_unmask_prompt_controller.h View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h View 1 2 3 4 1 chunk +0 lines, -99 lines 0 comments Download
D chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.cc View 1 2 3 4 1 chunk +0 lines, -329 lines 0 comments Download
D chrome/browser/ui/autofill/card_unmask_prompt_controller_impl_unittest.cc View 1 chunk +0 lines, -528 lines 0 comments Download
D chrome/browser/ui/autofill/card_unmask_prompt_view.h View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/ui/autofill/card_unmask_prompt_view_browsertest.cc View 7 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 4 chunks +5 lines, -3 lines 0 comments Download
A chrome/browser/ui/autofill/create_card_unmask_prompt_view.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h View 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm View 4 chunks +16 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/autofill/card_unmask_prompt_views.h View 1 2 3 4 4 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc View 1 2 3 4 4 chunks +15 lines, -15 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A + components/autofill/core/browser/ui/card_unmask_prompt_controller.h View 1 2 3 4 4 chunks +3 lines, -8 lines 0 comments Download
A + components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.h View 1 2 3 4 6 chunks +8 lines, -9 lines 0 comments Download
A + components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc View 1 2 3 4 6 chunks +14 lines, -24 lines 0 comments Download
A + components/autofill/core/browser/ui/card_unmask_prompt_controller_impl_unittest.cc View 5 chunks +31 lines, -45 lines 0 comments Download
A + components/autofill/core/browser/ui/card_unmask_prompt_view.h View 3 chunks +4 lines, -6 lines 0 comments Download
M components/autofill_strings.grdp View 1 chunk +32 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/resources/autofill_scaled_resources.grdp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A + components/resources/default_100_percent/autofill/credit_card_cvc_hint.png View 1 Binary file 0 comments Download
A + components/resources/default_100_percent/autofill/credit_card_cvc_hint_amex.png View 1 Binary file 0 comments Download
A + components/resources/default_200_percent/autofill/credit_card_cvc_hint.png View 1 Binary file 0 comments Download
A + components/resources/default_200_percent/autofill/credit_card_cvc_hint_amex.png View 1 Binary file 0 comments Download

Messages

Total messages: 25 (8 generated)
Justin Donnelly
https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc File components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc (right): https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc#newcode17 components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc:17: // #include "grit/theme_resources.h" This is not accessible from within ...
5 years, 7 months ago (2015-05-13 23:49:36 UTC) #2
Evan Stade
https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc File components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc (right): https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc#newcode17 components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc:17: // #include "grit/theme_resources.h" On 2015/05/13 23:49:36, Justin Donnelly wrote: ...
5 years, 7 months ago (2015-05-14 00:04:34 UTC) #3
Justin Donnelly
https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc File components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc (right): https://codereview.chromium.org/1138653003/diff/1/components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc#newcode17 components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc:17: // #include "grit/theme_resources.h" On 2015/05/14 00:04:34, Evan Stade wrote: ...
5 years, 7 months ago (2015-05-14 01:29:30 UTC) #5
Evan Stade
i'm not an owner of everything here, but it all lgtm https://codereview.chromium.org/1138653003/diff/50001/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h File chrome/browser/ui/autofill/create_card_unmask_prompt_view.h (right): ...
5 years, 7 months ago (2015-05-14 21:44:40 UTC) #6
Justin Donnelly
https://codereview.chromium.org/1138653003/diff/50001/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h File chrome/browser/ui/autofill/create_card_unmask_prompt_view.h (right): https://codereview.chromium.org/1138653003/diff/50001/chrome/browser/ui/autofill/create_card_unmask_prompt_view.h#newcode16 chrome/browser/ui/autofill/create_card_unmask_prompt_view.h:16: // A cross-platform function for creating the card unmask ...
5 years, 7 months ago (2015-05-14 22:00:23 UTC) #7
Justin Donnelly
tedchoc for c/b/ui/android/autofill groby for c/b/ui/cocoa/autofill oshima for chrome/app/theme sdefresne for components/resources
5 years, 7 months ago (2015-05-14 22:04:41 UTC) #9
Ted C
On 2015/05/14 22:04:41, Justin Donnelly wrote: > tedchoc for c/b/ui/android/autofill > groby for c/b/ui/cocoa/autofill > ...
5 years, 7 months ago (2015-05-14 22:10:53 UTC) #10
oshima
c/a/theme lgtm
5 years, 7 months ago (2015-05-14 22:20:10 UTC) #11
groby-ooo-7-16
c/g/ui/cocoa LGTM % nit https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm File chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm (right): https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm#newcode59 chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm:59: CardUnmaskPromptView* CreateCardUnmaskPromptView( Why not the ...
5 years, 7 months ago (2015-05-15 18:08:53 UTC) #12
Justin Donnelly
https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm File chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm (right): https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm#newcode59 chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm:59: CardUnmaskPromptView* CreateCardUnmaskPromptView( On 2015/05/15 18:08:53, groby wrote: > Why ...
5 years, 7 months ago (2015-05-15 18:29:26 UTC) #13
groby-ooo-7-16
SLGTM https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm File chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm (right): https://codereview.chromium.org/1138653003/diff/70001/chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm#newcode59 chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.mm:59: CardUnmaskPromptView* CreateCardUnmaskPromptView( On 2015/05/15 18:29:26, Justin Donnelly wrote: ...
5 years, 7 months ago (2015-05-15 18:41:40 UTC) #14
sdefresne
lgtm
5 years, 7 months ago (2015-05-19 14:13:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138653003/90001
5 years, 7 months ago (2015-05-19 14:13:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/78131)
5 years, 7 months ago (2015-05-19 15:04:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138653003/110001
5 years, 7 months ago (2015-05-19 15:20:57 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:110001)
5 years, 7 months ago (2015-05-19 17:14:28 UTC) #24
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 17:16:03 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/982b06f6e72d19b019676c8f51c6a8f63e580c19
Cr-Commit-Position: refs/heads/master@{#330537}

Powered by Google App Engine
This is Rietveld 408576698