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

Issue 8488011: Moving AutofillAgent Logic into Browser (Closed)

Created:
9 years, 1 month ago by csharp
Modified:
9 years, 1 month ago
CC:
chromium-reviews, GeorgeY, brettw-cc_chromium.org, darin-cc_chromium.org, dyu1, Paweł Hajdan Jr., dhollowa
Visibility:
Public.

Description

Moving AutofillAgent Logic into Browser This is the first attempt at moving some of the Autofill logic out of the autofillagent in the renderer and into the external delegate in the browser. I just focused on OnSuggestionsReturned, so the browser side should be able to correcrtly create the list of suggestions to show. There are still features that need to be moved, such as the ability to select an item, which I will address in future cls. BUG=51644 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111240

Patch Set 1 #

Total comments: 24

Patch Set 2 : Fixing for Code Review Comments #

Patch Set 3 : Uncommenting HideAutofillPopup call #

Total comments: 10

Patch Set 4 : Final code review changes #

Patch Set 5 : Initializing form_field variables #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -46 lines) Patch
M chrome/browser/autocomplete_history_manager_unittest.cc View 1 2 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.h View 1 2 3 4 chunks +49 lines, -11 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.cc View 1 2 3 2 chunks +106 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 3 chunks +11 lines, -13 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics_unittest.cc View 1 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/common/autofill_messages.h View 1 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/autofill_agent.cc View 1 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/form_autofill_util.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/form_field.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/form_field.cc View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
csharp
9 years, 1 month ago (2011-11-16 18:56:24 UTC) #1
Ilya Sherman
I think it might be better to hold off on migrating this logic until there ...
9 years, 1 month ago (2011-11-17 02:24:37 UTC) #2
csharp
I like the idea of getting this part in first, since it helps me see ...
9 years, 1 month ago (2011-11-18 18:15:08 UTC) #3
Ilya Sherman
LGTM with nits, thanks :) http://codereview.chromium.org/8488011/diff/1/chrome/browser/autofill/autofill_external_delegate.cc File chrome/browser/autofill/autofill_external_delegate.cc (right): http://codereview.chromium.org/8488011/diff/1/chrome/browser/autofill/autofill_external_delegate.cc#newcode37 chrome/browser/autofill/autofill_external_delegate.cc:37: autofill_query_id_ = query_id; On ...
9 years, 1 month ago (2011-11-18 23:16:04 UTC) #4
Ilya Sherman
LGTM with nits, thanks :)
9 years, 1 month ago (2011-11-18 23:16:07 UTC) #5
csharp
http://codereview.chromium.org/8488011/diff/9001/chrome/browser/autofill/autofill_external_delegate.cc File chrome/browser/autofill/autofill_external_delegate.cc (right): http://codereview.chromium.org/8488011/diff/9001/chrome/browser/autofill/autofill_external_delegate.cc#newcode22 chrome/browser/autofill/autofill_external_delegate.cc:22: autofill_query_field_(), On 2011/11/18 23:16:04, Ilya Sherman wrote: > nit: ...
9 years, 1 month ago (2011-11-21 14:42:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8488011/11001
9 years, 1 month ago (2011-11-21 14:42:28 UTC) #7
commit-bot: I haz the power
Presubmit check for 8488011-11001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-21 14:42:34 UTC) #8
csharp
Hey tony@, I've made some changes to webkit/glue/form_field and need a LGTM from you to ...
9 years, 1 month ago (2011-11-21 14:48:39 UTC) #9
tony
LGTM
9 years, 1 month ago (2011-11-21 21:28:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8488011/11001
9 years, 1 month ago (2011-11-21 23:04:45 UTC) #11
commit-bot: I haz the power
Try job failure for 8488011-11001 (retry) on linux_rel for steps "unit_tests, browser_tests". It's a second ...
9 years, 1 month ago (2011-11-22 00:20:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8488011/11001
9 years, 1 month ago (2011-11-22 00:28:27 UTC) #13
commit-bot: I haz the power
Try job failure for 8488011-11001 (retry) on linux_rel for steps "unit_tests, browser_tests". It's a second ...
9 years, 1 month ago (2011-11-22 02:02:23 UTC) #14
Ilya Sherman
Ah, Chris, these seem to be legitimate test failures. Please take a look at the ...
9 years, 1 month ago (2011-11-22 02:04:31 UTC) #15
csharp
Ok, the problem should be fixed. I hadn't initialized the new boolean values in form_field ...
9 years, 1 month ago (2011-11-22 15:57:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8488011/20001
9 years, 1 month ago (2011-11-22 15:58:09 UTC) #17
csharp
Ok, some of the browser_tests are still failing, but I'm not sure if it is ...
9 years, 1 month ago (2011-11-22 17:49:26 UTC) #18
Ilya Sherman
On 2011/11/22 17:49:26, csharp wrote: > Ok, some of the browser_tests are still failing, but ...
9 years, 1 month ago (2011-11-22 21:04:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8488011/20001
9 years, 1 month ago (2011-11-22 21:05:00 UTC) #20
commit-bot: I haz the power
9 years, 1 month ago (2011-11-22 22:49:13 UTC) #21
Change committed as 111240

Powered by Google App Engine
This is Rietveld 408576698