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

Issue 7514003: Show display warning if the form is autocomplete off. (Closed)

Created:
9 years, 5 months ago by honten.org
Modified:
9 years, 4 months ago
CC:
chromium-reviews, GeorgeY, Ilya Sherman, dhollowa, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Show display warning if the form is autocomplete off. Show display warning if the form is autocomplete off. Need WebKit side patch. https://bugs.webkit.org/show_bug.cgi?id=65304 BUG=63553 TEST=1,Make form with autocomplete="off", make sure the warning message is shown. 2, Make form with field with autocomple="off", make sure the warning message is not shown. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95058

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change autocomplete off check. #

Total comments: 9

Patch Set 3 : Add comment and change autofill_query_node_ type. #

Total comments: 2

Patch Set 4 : Change autofill_query_node_ to autofill_query_element_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -18 lines) Patch
M chrome/renderer/autofill/autofill_agent.h View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/renderer/autofill/autofill_agent.cc View 1 2 3 6 chunks +28 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
honten.org
This is not complete patch yet. Once it is Ok, I'll upload WebKit patch too.
9 years, 5 months ago (2011-07-26 06:20:40 UTC) #1
Ilya Sherman
http://codereview.chromium.org/7514003/diff/1/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1/chrome/renderer/autofill/autofill_agent.cc#newcode237 chrome/renderer/autofill/autofill_agent.cc:237: if (display_warning_if_disabled_) { If display_warning_if_disabled_ is true, that does ...
9 years, 5 months ago (2011-07-26 09:01:55 UTC) #2
honten.org
http://codereview.chromium.org/7514003/diff/1/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1/chrome/renderer/autofill/autofill_agent.cc#newcode237 chrome/renderer/autofill/autofill_agent.cc:237: if (display_warning_if_disabled_) { I needed a couple of cast, ...
9 years, 5 months ago (2011-07-27 03:29:37 UTC) #3
honten.org
Please review again. On 2011/07/27 03:29:37, honten.org wrote: > http://codereview.chromium.org/7514003/diff/1/chrome/renderer/autofill/autofill_agent.cc > File chrome/renderer/autofill/autofill_agent.cc (right): > ...
9 years, 5 months ago (2011-07-27 03:30:16 UTC) #4
Ilya Sherman
http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc#newcode44 chrome/renderer/autofill/autofill_agent.cc:44: bool autoCompleteOff(const WebNode& node) { nit: Chromium function names ...
9 years, 5 months ago (2011-07-27 23:41:27 UTC) #5
honten.org
http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc#newcode346 chrome/renderer/autofill/autofill_agent.cc:346: (!element.autoComplete() && form.autoComplete()) || Should I use extra bool ...
9 years, 5 months ago (2011-07-28 00:04:50 UTC) #6
Ilya Sherman
http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc#newcode346 chrome/renderer/autofill/autofill_agent.cc:346: (!element.autoComplete() && form.autoComplete()) || On 2011/07/28 00:04:50, honten.org wrote: ...
9 years, 5 months ago (2011-07-28 00:29:33 UTC) #7
honten.org
Please review again. http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc File chrome/renderer/autofill/autofill_agent.cc (right): http://codereview.chromium.org/7514003/diff/1002/chrome/renderer/autofill/autofill_agent.cc#newcode44 chrome/renderer/autofill/autofill_agent.cc:44: bool autoCompleteOff(const WebNode& node) { Change ...
9 years, 5 months ago (2011-07-28 06:03:06 UTC) #8
Ilya Sherman
Looks good, with one nit (and pending the WebKit change). Thanks :) http://codereview.chromium.org/7514003/diff/8002/chrome/renderer/autofill/autofill_agent.h File chrome/renderer/autofill/autofill_agent.h ...
9 years, 5 months ago (2011-07-28 06:15:00 UTC) #9
honten.org
Also I uploaded WebKit patch too. http://codereview.chromium.org/7514003/diff/8002/chrome/renderer/autofill/autofill_agent.h File chrome/renderer/autofill/autofill_agent.h (right): http://codereview.chromium.org/7514003/diff/8002/chrome/renderer/autofill/autofill_agent.h#newcode149 chrome/renderer/autofill/autofill_agent.h:149: WebKit::WebInputElement autofill_query_node_; On ...
9 years, 5 months ago (2011-07-28 06:30:53 UTC) #10
dhollowa
LGTM.
9 years, 4 months ago (2011-07-28 17:15:07 UTC) #11
commit-bot: I haz the power
9 years, 4 months ago (2011-08-02 06:16:21 UTC) #12
Change committed as 95058

Powered by Google App Engine
This is Rietveld 408576698