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

Issue 974323002: Componentize autofill dialog common code (Closed)

Created:
5 years, 9 months ago by droger
Modified:
5 years, 9 months ago
Reviewers:
sky, Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org, tfarina, dconnelly
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize autofill dialog common code This CL move some code from autofill_dialog_common and autofill_dialog_types into the autofill components so that they can be used on iOS. It is only a code move (+git cl format). TBR=sky Committed: https://crrev.com/b6a7008789ce4a144669fa906a21f7f5722f8448 Cr-Commit-Position: refs/heads/master@{#319855}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Fix android #

Patch Set 4 : Fix android #

Total comments: 3

Patch Set 5 : Split to different files #

Patch Set 6 : Update BUILD.gn #

Patch Set 7 : add missing includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -276 lines) Patch
M chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc View 1 2 3 4 7 chunks +12 lines, -10 lines 0 comments Download
D chrome/browser/ui/autofill/autofill_dialog_common.h View 1 2 3 4 3 chunks +1 line, -27 lines 0 comments Download
D chrome/browser/ui/autofill/autofill_dialog_common.cc View 1 2 3 4 2 chunks +0 lines, -78 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 11 chunks +21 lines, -22 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_i18n_input.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
D chrome/browser/ui/autofill/autofill_dialog_types.h View 1 2 2 chunks +0 lines, -49 lines 0 comments Download
D chrome/browser/ui/autofill/autofill_dialog_types.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_view_delegate.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_view_tester.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_dialog_window_controller.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_main_container.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_section_container.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill.gypi View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
A components/autofill/core/browser/detail_input.h View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A components/autofill/core/browser/detail_input.cc View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A components/autofill/core/browser/dialog_section.h View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
A + components/autofill/core/browser/server_field_types_util.h View 1 2 3 4 2 chunks +10 lines, -32 lines 0 comments Download
A + components/autofill/core/browser/server_field_types_util.cc View 1 2 3 4 4 chunks +4 lines, -50 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
droger
estade: please review dconnelly: FYI Thanks.
5 years, 9 months ago (2015-03-04 18:08:40 UTC) #10
Evan Stade
I'm confused why you'd want this on iOS. This is just for requestAutocomplete. iOS uses ...
5 years, 9 months ago (2015-03-05 02:29:00 UTC) #11
droger
On 2015/03/05 02:29:00, Evan Stade wrote: > I'm confused why you'd want this on iOS. ...
5 years, 9 months ago (2015-03-05 09:03:02 UTC) #12
droger
https://codereview.chromium.org/974323002/diff/150001/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc File chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc (left): https://codereview.chromium.org/974323002/diff/150001/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc#oldcode22 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc:22: #include "chrome/browser/ui/autofill/autofill_dialog_common.h" On 2015/03/05 02:28:59, Evan Stade wrote: > ...
5 years, 9 months ago (2015-03-05 09:04:57 UTC) #14
Evan Stade
sorry, my mistake. Can we just upstream the parts that are actually shared and leave ...
5 years, 9 months ago (2015-03-05 18:32:00 UTC) #15
droger
On 2015/03/05 18:32:00, Evan Stade wrote: > sorry, my mistake. Can we just upstream the ...
5 years, 9 months ago (2015-03-09 13:27:27 UTC) #17
Evan Stade
lgtm with comments addressed https://codereview.chromium.org/974323002/diff/230001/components/autofill/core/browser/field_types.h File components/autofill/core/browser/field_types.h (right): https://codereview.chromium.org/974323002/diff/230001/components/autofill/core/browser/field_types.h#newcode239 components/autofill/core/browser/field_types.h:239: struct DetailInput { I think ...
5 years, 9 months ago (2015-03-09 17:06:31 UTC) #18
droger
Thanks for the review. I split the types to their own files. https://codereview.chromium.org/974323002/diff/230001/components/autofill/core/browser/server_field_types_util.h File components/autofill/core/browser/server_field_types_util.h ...
5 years, 9 months ago (2015-03-09 17:54:54 UTC) #20
droger
TBR sky for trivial changes (includes and namespaces) in chrome/browser/ui/cocoa/autofill/ chrome/browser/ui/android/autofill/
5 years, 9 months ago (2015-03-10 09:27:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974323002/310001
5 years, 9 months ago (2015-03-10 09:27:14 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:310001)
5 years, 9 months ago (2015-03-10 09:44:57 UTC) #28
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 09:45:27 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b6a7008789ce4a144669fa906a21f7f5722f8448
Cr-Commit-Position: refs/heads/master@{#319855}

Powered by Google App Engine
This is Rietveld 408576698