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

Issue 11539003: Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage au… (Closed)

Created:
8 years ago by Raman Kakilate
Modified:
7 years, 11 months ago
CC:
chromium-reviews, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage autofill flow. * Added AutofillFlowInfobarDelegate for the Infobar. (Note that this might evolve soon when we have much concrete UX) * Strings used are also temporary. * browser/autofill/autofill_flow_util.* : helper functions to build FormStructure representing all the information needed for autofill_flow. * browser/autofill/autofill_manager.* : Added new methods to pop the UI and callback method to handle data from UI. * browser/autofill/autofill_xml_parser/form_structure: To get information about step in the autofill flow from autofill servers. * renderer/autofill/autofill_agent.* : To send SSL Status of the page back to the browser process. BUG=159830 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177746

Patch Set 1 #

Patch Set 2 : Updated string. Pop the UI only on first page of the flow. #

Total comments: 34

Patch Set 3 : address initial comments #

Total comments: 14

Patch Set 4 : Addressed review comments. #

Total comments: 12

Patch Set 5 : Addressed Albert's comments #

Total comments: 67

Patch Set 6 : Address Ilya comments #

Patch Set 7 : More comments addressed. #

Total comments: 31

Patch Set 8 : Addressed some more comments. #

Patch Set 9 : Convert AutocheckoutManager to use WeakPtr instead of RefCounted. #

Total comments: 6

Patch Set 10 : Refactor autofill_manager to expose GetWebContents(). #

Total comments: 18

Patch Set 11 : Fixed more nits. #

Total comments: 4

Patch Set 12 : Address Sky's comment #

Patch Set 13 : Resolve with AutofillDialogController refactoring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+619 lines, -10 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autocheckout_infobar_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +91 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autocheckout_infobar_delegate.cc View 1 2 3 4 5 6 7 8 9 1 chunk +118 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autocheckout_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autocheckout_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +84 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +98 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser.cc View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser_unittest.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.h View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.cc View 1 2 3 4 5 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure_unittest.cc View 1 2 3 4 5 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/form_data.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +11 lines, -8 lines 0 comments Download
M chrome/common/form_data.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/autofill_agent.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
Raman Kakilate
PTAL, Once I get LGTM, I will send out for wider chrome team to review.
8 years ago (2012-12-11 19:04:28 UTC) #1
Raman Kakilate
8 years ago (2012-12-12 18:06:08 UTC) #2
Ilya Sherman
Some initial comments: https://codereview.chromium.org/11539003/diff/3001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11539003/diff/3001/chrome/app/generated_resources.grd#newcode10591 chrome/app/generated_resources.grd:10591: + Ignore This doesn't seem like ...
8 years ago (2012-12-13 02:29:23 UTC) #3
Raman Kakilate
https://codereview.chromium.org/11539003/diff/3001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11539003/diff/3001/chrome/app/generated_resources.grd#newcode10591 chrome/app/generated_resources.grd:10591: + Ignore On 2012/12/13 02:29:23, Ilya Sherman wrote: > ...
8 years ago (2012-12-13 21:34:33 UTC) #4
Ilya Sherman
https://codereview.chromium.org/11539003/diff/3001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11539003/diff/3001/chrome/browser/autofill/autofill_xml_parser.cc#newcode93 chrome/browser/autofill/autofill_xml_parser.cc:93: } else if (element.compare("wallet_data") == 0) { On 2012/12/13 ...
8 years ago (2012-12-13 23:23:17 UTC) #5
ahutter
Tests? https://codereview.chromium.org/11539003/diff/12001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11539003/diff/12001/chrome/browser/autofill/autofill_xml_parser.cc#newcode36 chrome/browser/autofill/autofill_xml_parser.cc:36: page_number_(-1), total_pages_(-1), separate lines. https://codereview.chromium.org/11539003/diff/12001/chrome/browser/autofill/autofill_xml_parser.cc#newcode99 chrome/browser/autofill/autofill_xml_parser.cc:99: if (attribute_name.compare("page_no") ...
8 years ago (2012-12-17 17:35:39 UTC) #6
Raman Kakilate
https://codereview.chromium.org/11539003/diff/3001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11539003/diff/3001/chrome/browser/autofill/autofill_xml_parser.cc#newcode93 chrome/browser/autofill/autofill_xml_parser.cc:93: } else if (element.compare("wallet_data") == 0) { On 2012/12/13 ...
7 years, 11 months ago (2013-01-10 00:54:40 UTC) #7
ahutter
https://codereview.chromium.org/11539003/diff/12001/chrome/browser/autofill/wallet_infobar_delegate.cc File chrome/browser/autofill/wallet_infobar_delegate.cc (right): https://codereview.chromium.org/11539003/diff/12001/chrome/browser/autofill/wallet_infobar_delegate.cc#newcode40 chrome/browser/autofill/wallet_infobar_delegate.cc:40: formdata.fields.push_back(BuildField("billing address-line1")); On 2013/01/10 00:54:40, Raman Kakilate wrote: > ...
7 years, 11 months ago (2013-01-10 15:58:53 UTC) #8
Albert Bodenhamer
I'm going through this today, but it's a large CL. Those can take a while ...
7 years, 11 months ago (2013-01-10 17:54:27 UTC) #9
Raman Kakilate
On 2013/01/10 17:54:27, Albert Bodenhamer wrote: > I'm going through this today, but it's a ...
7 years, 11 months ago (2013-01-11 22:22:30 UTC) #10
Raman Kakilate
Ping {Ilya, Albert} :-) On 2013/01/11 22:22:30, Raman Kakilate wrote: > On 2013/01/10 17:54:27, Albert ...
7 years, 11 months ago (2013-01-14 17:20:11 UTC) #11
Albert Bodenhamer
Sorry for the delay on this one. https://codereview.chromium.org/11539003/diff/22001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/22001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode35 chrome/browser/autofill/autofill_flow_infobar_delegate.h:35: static scoped_ptr<ConfirmInfoBarDelegate> ...
7 years, 11 months ago (2013-01-14 22:10:18 UTC) #12
Raman Kakilate
https://codereview.chromium.org/11539003/diff/22001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/22001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode35 chrome/browser/autofill/autofill_flow_infobar_delegate.h:35: static scoped_ptr<ConfirmInfoBarDelegate> Create( On 2013/01/14 22:10:18, Albert Bodenhamer wrote: ...
7 years, 11 months ago (2013-01-14 23:37:45 UTC) #13
Ilya Sherman
https://codereview.chromium.org/11539003/diff/33001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11539003/diff/33001/chrome/app/generated_resources.grd#newcode10570 chrome/app/generated_resources.grd:10570: + Do you want to use Accelarated Autofill ? ...
7 years, 11 months ago (2013-01-15 06:31:52 UTC) #14
Raman Kakilate
https://codereview.chromium.org/11539003/diff/33001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/11539003/diff/33001/chrome/app/generated_resources.grd#newcode10570 chrome/app/generated_resources.grd:10570: + Do you want to use Accelarated Autofill ? ...
7 years, 11 months ago (2013-01-15 23:02:32 UTC) #15
Ilya Sherman
https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode31 chrome/browser/autofill/autofill_flow_infobar_delegate.h:31: const AutofillMetrics* metric_logger, On 2013/01/15 23:02:33, Raman Kakilate wrote: ...
7 years, 11 months ago (2013-01-15 23:24:45 UTC) #16
Albert Bodenhamer
https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode31 chrome/browser/autofill/autofill_flow_infobar_delegate.h:31: const AutofillMetrics* metric_logger, +1 I'm not sure why it ...
7 years, 11 months ago (2013-01-16 01:08:26 UTC) #17
Raman Kakilate
https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode31 chrome/browser/autofill/autofill_flow_infobar_delegate.h:31: const AutofillMetrics* metric_logger, probably my sloppy c++ skills at ...
7 years, 11 months ago (2013-01-16 19:20:12 UTC) #18
Ilya Sherman
https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h File chrome/browser/autofill/autofill_flow_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/33001/chrome/browser/autofill/autofill_flow_infobar_delegate.h#newcode31 chrome/browser/autofill/autofill_flow_infobar_delegate.h:31: const AutofillMetrics* metric_logger, On 2013/01/16 19:20:12, Raman Kakilate wrote: ...
7 years, 11 months ago (2013-01-17 01:21:43 UTC) #19
Raman Kakilate
https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_infobar_delegate.h File chrome/browser/autofill/autocheckout_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_infobar_delegate.h#newcode32 chrome/browser/autofill/autocheckout_infobar_delegate.h:32: AutofillManager* autofill_manager, On 2013/01/17 01:21:44, Ilya Sherman wrote: > ...
7 years, 11 months ago (2013-01-17 06:40:33 UTC) #20
Ilya Sherman
https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h File chrome/browser/autofill/autocheckout_manager.h (right): https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h#newcode23 chrome/browser/autofill/autocheckout_manager.h:23: class AutocheckoutManager : public base::RefCounted<AutocheckoutManager>{ On 2013/01/17 06:40:33, Raman ...
7 years, 11 months ago (2013-01-17 10:50:23 UTC) #21
Raman Kakilate
https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h File chrome/browser/autofill/autocheckout_manager.h (right): https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h#newcode23 chrome/browser/autofill/autocheckout_manager.h:23: class AutocheckoutManager : public base::RefCounted<AutocheckoutManager>{ On 2013/01/17 10:50:23, Ilya ...
7 years, 11 months ago (2013-01-17 16:52:29 UTC) #22
Raman Kakilate
https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h File chrome/browser/autofill/autocheckout_manager.h (right): https://codereview.chromium.org/11539003/diff/44001/chrome/browser/autofill/autocheckout_manager.h#newcode23 chrome/browser/autofill/autocheckout_manager.h:23: class AutocheckoutManager : public base::RefCounted<AutocheckoutManager>{ On 2013/01/17 16:52:30, Raman ...
7 years, 11 months ago (2013-01-17 17:35:30 UTC) #23
Ilya Sherman
https://codereview.chromium.org/11539003/diff/49005/chrome/browser/autofill/autocheckout_manager.h File chrome/browser/autofill/autocheckout_manager.h (right): https://codereview.chromium.org/11539003/diff/49005/chrome/browser/autofill/autocheckout_manager.h#newcode31 chrome/browser/autofill/autocheckout_manager.h:31: ~AutocheckoutManager(); nit: Please include a blank line after this ...
7 years, 11 months ago (2013-01-17 23:48:12 UTC) #24
Raman Kakilate
Refactored AutocheckoutManager to now look at AutofillManager.GetWebContents() instead of AutofillManager proxying web_contents. https://codereview.chromium.org/11539003/diff/49005/chrome/browser/autofill/autocheckout_manager.h File chrome/browser/autofill/autocheckout_manager.h ...
7 years, 11 months ago (2013-01-18 01:17:13 UTC) #25
Ilya Sherman
LGTM with nits: https://codereview.chromium.org/11539003/diff/66003/chrome/browser/autofill/autocheckout_infobar_delegate.h File chrome/browser/autofill/autocheckout_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/66003/chrome/browser/autofill/autocheckout_infobar_delegate.h#newcode13 chrome/browser/autofill/autocheckout_infobar_delegate.h:13: #include "chrome/browser/autofill/autofill_metrics.h" nit: Forward-declare rather than ...
7 years, 11 months ago (2013-01-18 01:45:02 UTC) #26
Albert Bodenhamer
lgtm
7 years, 11 months ago (2013-01-18 03:21:08 UTC) #27
Raman Kakilate
+sky for chrome/common, gypi and chrome/app/generated_resources.grd changes. https://codereview.chromium.org/11539003/diff/66003/chrome/browser/autofill/autocheckout_infobar_delegate.h File chrome/browser/autofill/autocheckout_infobar_delegate.h (right): https://codereview.chromium.org/11539003/diff/66003/chrome/browser/autofill/autocheckout_infobar_delegate.h#newcode13 chrome/browser/autofill/autocheckout_infobar_delegate.h:13: #include "chrome/browser/autofill/autofill_metrics.h" ...
7 years, 11 months ago (2013-01-18 04:22:30 UTC) #28
sky
https://codereview.chromium.org/11539003/diff/68026/chrome/common/form_data.cc File chrome/common/form_data.cc (right): https://codereview.chromium.org/11539003/diff/68026/chrome/common/form_data.cc#newcode28 chrome/common/form_data.cc:28: StringToLowerASCII(method) == StringToLowerASCII(form.method) && Can method be an enum? ...
7 years, 11 months ago (2013-01-18 16:56:15 UTC) #29
Raman Kakilate
https://codereview.chromium.org/11539003/diff/68026/chrome/common/form_data.cc File chrome/common/form_data.cc (right): https://codereview.chromium.org/11539003/diff/68026/chrome/common/form_data.cc#newcode28 chrome/common/form_data.cc:28: StringToLowerASCII(method) == StringToLowerASCII(form.method) && On 2013/01/18 16:56:16, sky wrote: ...
7 years, 11 months ago (2013-01-18 17:06:47 UTC) #30
sky
LGTM
7 years, 11 months ago (2013-01-18 18:08:58 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11539003/63008
7 years, 11 months ago (2013-01-18 18:21:28 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11539003/74002
7 years, 11 months ago (2013-01-18 19:03:00 UTC) #33
commit-bot: I haz the power
7 years, 11 months ago (2013-01-18 20:52:10 UTC) #34
Message was sent while issue was closed.
Change committed as 177746

Powered by Google App Engine
This is Rietveld 408576698