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

Issue 4591001: Display a warning when autofill is disabled for a website. (Closed)

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

Description

Display a warning when autofill is disabled for a website. This depends on a WebKit change being tracked at https://bugs.webkit.org/show_bug.cgi?id=49291 BUG=58509 TEST=unit_tests --gtest_filter=AutoFillManagerTest.*:AutoFillHelperTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66214 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66237

Patch Set 1 #

Patch Set 2 : Needs webkit changes, tests #

Patch Set 3 : Minor cleanup for WebKit #

Patch Set 4 : Now with unit tests! #

Total comments: 4

Patch Set 5 : Little fixes #

Patch Set 6 : Add tests for when AutoFill is disabled by the user #

Total comments: 4

Patch Set 7 : Move the smarts out of RenderViewHost #

Total comments: 15

Patch Set 8 : Leave the server out of it #

Patch Set 9 : Compile on ChromeOS... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -232 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/autocomplete_history_manager.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autocomplete_history_manager.cc View 4 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 6 7 9 chunks +47 lines, -16 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 4 5 6 23 chunks +239 lines, -34 lines 0 comments Download
M chrome/browser/autofill/form_structure.h View 1 2 3 2 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/autofill/form_structure.cc View 1 2 3 6 chunks +5 lines, -50 lines 0 comments Download
M chrome/browser/autofill/form_structure_unittest.cc View 19 chunks +25 lines, -23 lines 0 comments Download
M chrome/browser/chromeos/login/account_creation_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 5 6 3 chunks +28 lines, -25 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/autofill_helper.h View 1 2 3 4 5 6 7 3 chunks +13 lines, -3 lines 0 comments Download
M chrome/renderer/autofill_helper.cc View 1 2 3 4 5 6 5 chunks +35 lines, -22 lines 0 comments Download
M chrome/renderer/form_manager.cc View 2 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Ilya Sherman
This has a WebKit dependency -- I'll add a link to the corresponding WebKit bug ...
10 years, 1 month ago (2010-11-10 00:59:56 UTC) #1
dhollowa
As we discussed offline, we should use the existing ids and labels for this "disabled" ...
10 years, 1 month ago (2010-11-10 01:58:38 UTC) #2
Ilya Sherman
On 2010/11/10 01:58:38, dhollowa wrote: > As we discussed offline, we should use the existing ...
10 years, 1 month ago (2010-11-10 10:16:20 UTC) #3
dhollowa
http://codereview.chromium.org/4591001/diff/10001/base/scoped_vector.h File base/scoped_vector.h (right): http://codereview.chromium.org/4591001/diff/10001/base/scoped_vector.h#newcode58 base/scoped_vector.h:58: void clear() { v.clear(); } |weak_erase| should be sufficient, ...
10 years, 1 month ago (2010-11-12 01:52:03 UTC) #4
Ilya Sherman
The previous patch set had a bug where the warning would be shown if there ...
10 years, 1 month ago (2010-11-12 05:15:38 UTC) #5
dhollowa
http://codereview.chromium.org/4591001/diff/21001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/4591001/diff/21001/chrome/app/generated_resources.grd#newcode6660 chrome/app/generated_resources.grd:6660: <message name="IDS_AUTOFILL_WARNING_AUTOFILL_DISABLED" desc="Warning text to show when autofill is ...
10 years, 1 month ago (2010-11-12 23:44:19 UTC) #6
Ilya Sherman
http://codereview.chromium.org/4591001/diff/21001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/4591001/diff/21001/chrome/app/generated_resources.grd#newcode6660 chrome/app/generated_resources.grd:6660: <message name="IDS_AUTOFILL_WARNING_AUTOFILL_DISABLED" desc="Warning text to show when autofill is ...
10 years, 1 month ago (2010-11-13 05:24:43 UTC) #7
dhollowa
http://codereview.chromium.org/4591001/diff/26001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/4591001/diff/26001/chrome/browser/autofill/autofill_manager.cc#newcode137 chrome/browser/autofill/autofill_manager.cc:137: if (!upload_form_structure_->IsAutoFillable(false)) These changes should not alter the types ...
10 years, 1 month ago (2010-11-15 18:47:57 UTC) #8
Ilya Sherman
http://codereview.chromium.org/4591001/diff/26001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/4591001/diff/26001/chrome/browser/autofill/autofill_manager.cc#newcode137 chrome/browser/autofill/autofill_manager.cc:137: if (!upload_form_structure_->IsAutoFillable(false)) On 2010/11/15 18:47:57, dhollowa wrote: > These ...
10 years, 1 month ago (2010-11-15 22:53:32 UTC) #9
dhollowa
10 years, 1 month ago (2010-11-16 00:02:25 UTC) #10
LGTM (Pending verification against pending Webkit changes). Thanks!

Powered by Google App Engine
This is Rietveld 408576698