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

Issue 8490017: Setting up external delegate calls to allow a future delegate to handle autofill (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., Ilya Sherman, dhollowa
Visibility:
Public.

Description

Setting up external delegate calls to allow a future delegate to handle autofill The external delegate IPC calls in autofill_agent are setup so that a future change that adds an external delegate should already have its code called at the correct times and with the correct values. BUG=51644 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110506

Patch Set 1 #

Total comments: 32

Patch Set 2 : Adding code review changes #

Total comments: 16

Patch Set 3 : Removing unneeded IPC calls #

Total comments: 14

Patch Set 4 : Changing to get window bounds from WebKit #

Total comments: 1

Patch Set 5 : Hard coding input element position #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -32 lines) Patch
M chrome/browser/autocomplete_history_manager.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete_history_manager.cc View 1 2 2 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/autocomplete_history_manager_unittest.cc View 1 2 3 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.h View 1 2 3 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 4 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics_unittest.cc View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/common/autofill_messages.h View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/autofill_agent.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/autofill/autofill_agent.cc View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
csharp
This change list just handles modifying the files that we currently have to call external ...
9 years, 1 month ago (2011-11-07 20:25:09 UTC) #1
csharp
Also as a quick note, this change can't be submitted until I get my API ...
9 years, 1 month ago (2011-11-07 20:29:46 UTC) #2
Ilya Sherman
On 2011/11/07 20:25:09, csharp wrote: > -I have an IPC call to tell autofill_agent when ...
9 years, 1 month ago (2011-11-07 21:48:49 UTC) #3
csharp1
http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc File chrome/browser/autocomplete_history_manager.cc (right): http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc#newcode268 chrome/browser/autocomplete_history_manager.cc:268: Send(new AutofillMsg_HasExternalDelegate(routing_id(), true)); That doesn't seem to work. Although ...
9 years, 1 month ago (2011-11-08 19:59:00 UTC) #4
John Grabowski
I like the progress seen here. http://codereview.chromium.org/8490017/diff/6001/chrome/browser/autocomplete_history_manager.cc File chrome/browser/autocomplete_history_manager.cc (right): http://codereview.chromium.org/8490017/diff/6001/chrome/browser/autocomplete_history_manager.cc#newcode224 chrome/browser/autocomplete_history_manager.cc:224: void SetExternalDelegate(AutofillExternalDelegate* delegate); ...
9 years, 1 month ago (2011-11-08 20:46:01 UTC) #5
Ilya Sherman
http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc File chrome/browser/autocomplete_history_manager.cc (right): http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc#newcode268 chrome/browser/autocomplete_history_manager.cc:268: Send(new AutofillMsg_HasExternalDelegate(routing_id(), true)); Ah, that's irksome. Now that I ...
9 years, 1 month ago (2011-11-08 21:06:16 UTC) #6
csharp
http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc File chrome/browser/autocomplete_history_manager.cc (right): http://codereview.chromium.org/8490017/diff/1/chrome/browser/autocomplete_history_manager.cc#newcode268 chrome/browser/autocomplete_history_manager.cc:268: Send(new AutofillMsg_HasExternalDelegate(routing_id(), true)); Seems like a good solution, changes ...
9 years, 1 month ago (2011-11-09 16:18:37 UTC) #7
Ilya Sherman
http://codereview.chromium.org/8490017/diff/6001/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/8490017/diff/6001/chrome/renderer/autofill/autofill_agent.cc#newcode131 chrome/renderer/autofill/autofill_agent.cc:131: if (has_external_delegate_) On 2011/11/09 16:18:37, csharp wrote: > In ...
9 years, 1 month ago (2011-11-09 20:34:19 UTC) #8
John Grabowski
LGTM from me, but please wait for LGTM from Ilya. http://codereview.chromium.org/8490017/diff/12001/chrome/browser/autofill/autofill_manager.h File chrome/browser/autofill/autofill_manager.h (right): http://codereview.chromium.org/8490017/diff/12001/chrome/browser/autofill/autofill_manager.h#newcode148 ...
9 years, 1 month ago (2011-11-09 22:18:33 UTC) #9
csharp
I found a better WebKit function to use, which gets the window relative position so ...
9 years, 1 month ago (2011-11-10 18:09:32 UTC) #10
Ilya Sherman
LGTM, thanks :) http://codereview.chromium.org/8490017/diff/12001/chrome/browser/autofill/autofill_external_delegate.h File chrome/browser/autofill/autofill_external_delegate.h (right): http://codereview.chromium.org/8490017/diff/12001/chrome/browser/autofill/autofill_external_delegate.h#newcode55 chrome/browser/autofill/autofill_external_delegate.h:55: // for. The bounds are page-relative. ...
9 years, 1 month ago (2011-11-10 21:19:41 UTC) #11
csharp
Ok, there will be one more set of changes uploaded by me once the WebKit ...
9 years, 1 month ago (2011-11-11 14:03:43 UTC) #12
Ilya Sherman
http://codereview.chromium.org/8490017/diff/17001/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/8490017/diff/17001/chrome/renderer/autofill/autofill_agent.cc#newcode420 chrome/renderer/autofill/autofill_agent.cc:420: gfx::Rect bounding_box(autofill_query_element_.boundsInWindowSpace()); So that you're not blocked by the ...
9 years, 1 month ago (2011-11-17 02:29:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/csharp@chromium.org/8490017/25001
9 years, 1 month ago (2011-11-17 15:16:58 UTC) #14
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 16:35:23 UTC) #15
Change committed as 110506

Powered by Google App Engine
This is Rietveld 408576698