summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/autofill_helper.h
diff options
context:
space:
mode:
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_;