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

Side by Side Diff: components/autofill/content/public/interfaces/autofill_driver.mojom

Issue 2352533003: [Autofill] Migrate ChromePasswordManagerClient<-->PasswordGenerationAgent IPCs to mojo. (Closed)
Patch Set: Rebase only Created 4 years, 2 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/public/interfaces/autofill_types.mojom"; 7 import "components/autofill/content/public/interfaces/autofill_types.mojom";
8 import "mojo/common/common_custom_types.mojom"; 8 import "mojo/common/common_custom_types.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Instructs the browser that form no longer contains a generated password and 104 // Instructs the browser that form no longer contains a generated password and
105 // the presaved form should be removed. 105 // the presaved form should be removed.
106 PasswordNoLongerGenerated(PasswordForm password_form); 106 PasswordNoLongerGenerated(PasswordForm password_form);
107 107
108 // Sends the outcome of HTML parsing based form classifier that detects the 108 // Sends the outcome of HTML parsing based form classifier that detects the
109 // forms where password generation should be available. 109 // forms where password generation should be available.
110 SaveGenerationFieldDetectedByClassifier( 110 SaveGenerationFieldDetectedByClassifier(
111 PasswordForm password_form, mojo.common.mojom.String16 generation_field); 111 PasswordForm password_form, mojo.common.mojom.String16 generation_field);
112 }; 112 };
113
114 // There is one instance of this interface per web contents in the browser
115 // process.
116 interface PasswordManagerClient {
117 // Instructs the browser that generation is available for this particular
118 // form. This is used for UMA stats.
119 GenerationAvailableForForm(PasswordForm password_form);
120
121 // Instructs the browser to show the password generation popup at the
122 // specified location. This location should be specified in the renderers
123 // coordinate system. Form is the form associated with the password field.
124 // The popup will be anchored at |bounds|. The generated password
125 // will be no longer than |max_length|. |generation_element| should contain a
126 // name of a password field at which generation popup is attached.
127 // |is_manually_triggered| informs whether it is automatically or manually
128 // triggered generation.
129 ShowPasswordGenerationPopup(
130 gfx.mojom.RectF bounds, int32 max_length,
131 mojo.common.mojom.String16 generation_element, bool is_manually_triggered,
132 PasswordForm password_form);
133
134 // Instructs the browser to show the popup for editing a generated password.
135 // The location should be specified in the renderers coordinate system. Form
136 // is the form associated with the password field.
137 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form);
138
139 // Instructs the browser to hide any password generation popups.
140 HidePasswordGenerationPopup();
141 };
OLDNEW
« no previous file with comments | « components/autofill/content/common/autofill_param_traits_macros.h ('k') | components/autofill/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698