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

Unified Diff: components/autofill/content/renderer/autofill_agent.h

Issue 1059393002: Remove --respect-autocomplete-off-autofill flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix last 3 tests Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/autofill_agent.h
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
index da555e446f3aa6fd384ee1017358ae1b768fa251..4ec475c20c66f39bded36d4e74287bee9add5b2d 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -92,11 +92,6 @@ class AutofillAgent : public content::RenderFrameObserver,
// after the last character in the element.
bool requires_caret_at_end;
- // Specifies that a warning should be displayed to the user if Autofill has
- // suggestions available, but cannot fill them because it is disabled (e.g.
- // when trying to fill a credit card form on a non-secure website).
- bool display_warning_if_disabled;
-
// Specifies that all of <datalist> suggestions and no autofill suggestions
// are shown. |autofill_on_empty_values| and |requires_caret_at_end| are
// ignored if |datalist_only| is true.
@@ -190,7 +185,6 @@ class AutofillAgent : public content::RenderFrameObserver,
// Queries the browser for Autocomplete and Autofill suggestions for the given
// |element|.
void QueryAutofillSuggestions(const blink::WebFormControlElement& element,
- bool display_warning_if_disabled,
bool datalist_only);
// Sets the element value to reflect the selected |suggested_value|.
@@ -251,9 +245,6 @@ class AutofillAgent : public content::RenderFrameObserver,
// The form element currently requesting an interactive autocomplete.
blink::WebFormElement in_flight_request_form_;
- // 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_;
« no previous file with comments | « components/autofill/content/common/autofill_messages.h ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698