Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 3319006: Clean up RenderViewHostDelegate::AutoFill interface (Closed)

Created:
10 years, 3 months ago by Ilya Sherman
Modified:
9 years, 7 months ago
Reviewers:
James Hawkins, dhollowa
CC:
chromium-reviews, nkostylev+cc_chromium.org, ben+cc_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., davemoore+watch_chromium.org, dhollowa
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Clean up RenderViewHostDelegate::AutoFill interface -- remove |value| and |label| parameters from FillAutoFillFormData() BUG=none TEST=it compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59438

Patch Set 1 #

Patch Set 2 : Stray compile failures #

Patch Set 3 : Another question #

Total comments: 17

Patch Set 4 : Adressing review comments #

Total comments: 2

Patch Set 5 : Remove |label| as well #

Total comments: 2

Patch Set 6 : Pass the correct param. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -60 lines) Patch
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 6 chunks +5 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/login/account_creation_view.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M chrome/renderer/autofill_helper.h View 1 2 3 4 3 chunks +2 lines, -9 lines 0 comments Download
M chrome/renderer/autofill_helper.cc View 1 2 3 4 5 chunks +5 lines, -13 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Ilya Sherman
10 years, 3 months ago (2010-09-03 21:36:38 UTC) #1
James Hawkins
I'm reviewing this now, but please wait for my LGTM (in addition to dhollowa's).
10 years, 3 months ago (2010-09-07 16:55:51 UTC) #2
James Hawkins
http://codereview.chromium.org/3319006/diff/4001/5001 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3319006/diff/4001/5001#newcode199 chrome/browser/autofill/autofill_manager.cc:199: // TODO(isherman): Why do we only break out of ...
10 years, 3 months ago (2010-09-07 18:15:02 UTC) #3
dhollowa
http://codereview.chromium.org/3319006/diff/4001/5013 File chrome/renderer/render_view.h (left): http://codereview.chromium.org/3319006/diff/4001/5013#oldcode405 chrome/renderer/render_view.h:405: virtual void queryAutofillSuggestions(const WebKit::WebNode& node, This interface is defined ...
10 years, 3 months ago (2010-09-07 18:16:54 UTC) #4
Ilya Sherman
Sorry, didn't mean to step on any toes with this CL. I often upload patches ...
10 years, 3 months ago (2010-09-07 22:32:39 UTC) #5
James Hawkins
http://codereview.chromium.org/3319006/diff/4001/5004 File chrome/browser/autofill/form_structure.cc (right): http://codereview.chromium.org/3319006/diff/4001/5004#newcode336 chrome/browser/autofill/form_structure.cc:336: // TODO(isherman): What about FormsSeen()? On 2010/09/07 22:32:40, Ilya ...
10 years, 3 months ago (2010-09-07 22:36:47 UTC) #6
Ilya Sherman
Any other changes that I should make, or does this look all right?
10 years, 3 months ago (2010-09-10 00:12:50 UTC) #7
James Hawkins
On 2010/09/10 00:12:50, Ilya Sherman wrote: > Any other changes that I should make, or ...
10 years, 3 months ago (2010-09-10 20:46:29 UTC) #8
Ilya Sherman
Hadn't been aware of the done button... http://codereview.chromium.org/3319006/diff/4001/5001 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3319006/diff/4001/5001#newcode199 chrome/browser/autofill/autofill_manager.cc:199: // TODO(isherman): ...
10 years, 3 months ago (2010-09-10 22:00:09 UTC) #9
James Hawkins
http://codereview.chromium.org/3319006/diff/13001/9002 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3319006/diff/13001/9002#newcode259 chrome/browser/autofill/autofill_manager.cc:259: const string16& label, Please remove |label| as well.
10 years, 3 months ago (2010-09-13 18:41:26 UTC) #10
Ilya Sherman
http://codereview.chromium.org/3319006/diff/13001/9002 File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/3319006/diff/13001/9002#newcode259 chrome/browser/autofill/autofill_manager.cc:259: const string16& label, On 2010/09/13 18:41:26, James Hawkins wrote: ...
10 years, 3 months ago (2010-09-13 20:26:12 UTC) #11
James Hawkins
http://codereview.chromium.org/3319006/diff/13002/2012 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3319006/diff/13002/2012#newcode2227 chrome/renderer/render_view.cc:2227: autofill_helper_->DidAcceptAutoFillSuggestion(node, label, unique_id, index); whoops, you passed in |label| ...
10 years, 3 months ago (2010-09-13 20:35:37 UTC) #12
Ilya Sherman
http://codereview.chromium.org/3319006/diff/13002/2012 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/3319006/diff/13002/2012#newcode2227 chrome/renderer/render_view.cc:2227: autofill_helper_->DidAcceptAutoFillSuggestion(node, label, unique_id, index); On 2010/09/13 20:35:38, James Hawkins ...
10 years, 3 months ago (2010-09-13 20:53:35 UTC) #13
James Hawkins
10 years, 3 months ago (2010-09-13 20:55:18 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698