summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/autofill_helper.h
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-25 02:31:20 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-25 02:31:20 +0000
commit6bcd58a7acff30eb360422c9d10324f708d8ba32 (patch)
tree876e8e868cf1a9a154d05f7c35bd4b86e0689385 /chrome/renderer/autofill_helper.h
parent6b3f964f5de20d1d5d567bf67d16f5b246ac0299 (diff)
downloadchromium_src-6bcd58a7acff30eb360422c9d10324f708d8ba32.zip
chromium_src-6bcd58a7acff30eb360422c9d10324f708d8ba32.tar.gz
chromium_src-6bcd58a7acff30eb360422c9d10324f708d8ba32.tar.bz2
Don't show autofill warning while typing
BUG=64316 TEST=manual (see bug) Review URL: http://codereview.chromium.org/5316005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/autofill_helper.h')
-rw-r--r--chrome/renderer/autofill_helper.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/autofill_helper.h b/chrome/renderer/autofill_helper.h
index de1c909..67b137c 100644
--- a/chrome/renderer/autofill_helper.h
+++ b/chrome/renderer/autofill_helper.h
@@ -116,7 +116,8 @@ class AutoFillHelper : public PageClickListener {
// Queries the browser for Autocomplete and AutoFill suggestions for the given
// |node|.
- void QueryAutoFillSuggestions(const WebKit::WebNode& node);
+ void QueryAutoFillSuggestions(const WebKit::WebNode& node,
+ bool display_warning_if_disabled);
// Queries the AutoFillManager for form data for the form containing |node|.
// |value| is the current text in the field, and |unique_id| is the selected
@@ -144,6 +145,9 @@ class AutoFillHelper : public PageClickListener {
// The action to take when receiving AutoFill data from the AutoFillManager.
AutoFillAction autofill_action_;
+ // Should we display a warning if autofill is disabled?
+ bool display_warning_if_disabled_;
+
// Was the query node autofilled prior to previewing the form?
bool was_query_node_autofilled_;