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

Side by Side 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, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module autofill.mojom; 5 module autofill.mojom;
6 6
7 import "components/autofill/content/common/autofill_types.mojom"; 7 import "components/autofill/content/common/autofill_types.mojom";
8 import "mojo/common/string16.mojom"; 8 import "mojo/common/string16.mojom";
9 import "mojo/common/time.mojom"; 9 import "mojo/common/time.mojom";
10 import "ui/gfx/geometry/mojo/geometry.mojom"; 10 import "ui/gfx/geometry/mojo/geometry.mojom";
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Never pass a free-form string as |log|. 88 // Never pass a free-form string as |log|.
89 RecordSavePasswordProgress(string log); 89 RecordSavePasswordProgress(string log);
90 90
91 // Instructs the browser to show a popup with suggestions filled from data 91 // Instructs the browser to show a popup with suggestions filled from data
92 // associated with |key|. The popup will use |text_direction| for displaying 92 // associated with |key|. The popup will use |text_direction| for displaying
93 // text. 93 // text.
94 ShowPasswordSuggestions(int32 key, TextDirection text_direction, 94 ShowPasswordSuggestions(int32 key, TextDirection text_direction,
95 mojo.common.mojom.String16 typed_username, 95 mojo.common.mojom.String16 typed_username,
96 int32 options, gfx.mojom.RectF bounds); 96 int32 options, gfx.mojom.RectF bounds);
97 97
98 // Instructs the browser to show a popup with a warning that the form
99 // is not secure. The popup will use |text_direction| for displaying
100 // text. This popup is shown when a password form on a non-secure page is
101 // autofilled on page load.
102 ShowNotSecureWarning(TextDirection text_direction, gfx.mojom.RectF bounds);
98 103
99 // Instructs the browser to presave the form with generated password. 104 // Instructs the browser to presave the form with generated password.
100 PresaveGeneratedPassword(PasswordForm password_form); 105 PresaveGeneratedPassword(PasswordForm password_form);
101 106
102 // Instructs the browser that form no longer contains a generated password and 107 // Instructs the browser that form no longer contains a generated password and
103 // the presaved form should be removed. 108 // the presaved form should be removed.
104 PasswordNoLongerGenerated(PasswordForm password_form); 109 PasswordNoLongerGenerated(PasswordForm password_form);
105 110
106 // Sends the outcome of HTML parsing based form classifier that detects the 111 // Sends the outcome of HTML parsing based form classifier that detects the
107 // forms where password generation should be available. 112 // forms where password generation should be available.
(...skipping 22 matching lines...) Expand all
130 PasswordForm password_form); 135 PasswordForm password_form);
131 136
132 // Instructs the browser to show the popup for editing a generated password. 137 // Instructs the browser to show the popup for editing a generated password.
133 // The location should be specified in the renderers coordinate system. Form 138 // The location should be specified in the renderers coordinate system. Form
134 // is the form associated with the password field. 139 // is the form associated with the password field.
135 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form); 140 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form);
136 141
137 // Instructs the browser to hide any password generation popups. 142 // Instructs the browser to hide any password generation popups.
138 HidePasswordGenerationPopup(); 143 HidePasswordGenerationPopup();
139 }; 144 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698