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

Unified Diff: components/autofill/content/common/autofill_driver.mojom

Issue 2604453003: Show Form-Not-Secure warning on page load (Closed)
Patch Set: meacer, jochen comments Created 3 years, 12 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/common/autofill_driver.mojom
diff --git a/components/autofill/content/common/autofill_driver.mojom b/components/autofill/content/common/autofill_driver.mojom
index 8fb379d9960c22d58de95551f99f17e2dd313a23..b0da5fd145c88bf470ad5ae8341dd8e5d6980bef 100644
--- a/components/autofill/content/common/autofill_driver.mojom
+++ b/components/autofill/content/common/autofill_driver.mojom
@@ -95,6 +95,11 @@ interface PasswordManagerDriver {
mojo.common.mojom.String16 typed_username,
int32 options, gfx.mojom.RectF bounds);
+ // Instructs the browser to show a popup with a warning that the form
+ // is not secure. The popup will use |text_direction| for displaying
+ // text. This popup is shown when a password form on a non-secure page is
+ // autofilled on page load.
+ ShowNotSecureWarning(TextDirection text_direction, gfx.mojom.RectF bounds);
// Instructs the browser to presave the form with generated password.
PresaveGeneratedPassword(PasswordForm password_form);

Powered by Google App Engine
This is Rietveld 408576698