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

Side by Side Diff: components/autofill/content/common/autofill_driver.mojom

Issue 2680163006: Eliminate PasswordAutofillAgentConstructed() in mojo interface PasswordManagerDriver (Closed)
Patch Set: Address comments from vabr@ Created 3 years, 10 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/text_direction.mojom"; 9 import "mojo/common/text_direction.mojom";
10 import "mojo/common/time.mojom"; 10 import "mojo/common/time.mojom";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 DidEndTextFieldEditing(); 54 DidEndTextFieldEditing();
55 55
56 // Informs browser of data list values for the current field. 56 // Informs browser of data list values for the current field.
57 SetDataList(array<mojo.common.mojom.String16> values, 57 SetDataList(array<mojo.common.mojom.String16> values,
58 array<mojo.common.mojom.String16> labels); 58 array<mojo.common.mojom.String16> labels);
59 }; 59 };
60 60
61 // There is one instance of this interface per render frame host in the browser 61 // There is one instance of this interface per render frame host in the browser
62 // process. 62 // process.
63 interface PasswordManagerDriver { 63 interface PasswordManagerDriver {
64 // A ping to the browser that PasswordAutofillAgent was constructed. As a
65 // consequence, the browser sends SetLoggingState with the current
66 // state of the logging activity.
67 PasswordAutofillAgentConstructed();
68
69 // Notification that password forms have been seen that are candidates for 64 // Notification that password forms have been seen that are candidates for
70 // filling/submitting by the password manager. 65 // filling/submitting by the password manager.
71 PasswordFormsParsed(array<PasswordForm> forms); 66 PasswordFormsParsed(array<PasswordForm> forms);
72 67
73 // Notification that initial layout has occurred and the following password 68 // Notification that initial layout has occurred and the following password
74 // forms are visible on the page (e.g. not set to display:none.), and whether 69 // forms are visible on the page (e.g. not set to display:none.), and whether
75 // all frames in the page have been rendered. 70 // all frames in the page have been rendered.
76 PasswordFormsRendered(array<PasswordForm> visible_forms, 71 PasswordFormsRendered(array<PasswordForm> visible_forms,
77 bool did_stop_loading); 72 bool did_stop_loading);
78 73
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 PasswordForm password_form); 133 PasswordForm password_form);
139 134
140 // Instructs the browser to show the popup for editing a generated password. 135 // Instructs the browser to show the popup for editing a generated password.
141 // The location should be specified in the renderers coordinate system. Form 136 // The location should be specified in the renderers coordinate system. Form
142 // is the form associated with the password field. 137 // is the form associated with the password field.
143 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form); 138 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form);
144 139
145 // Instructs the browser to hide any password generation popups. 140 // Instructs the browser to hide any password generation popups.
146 HidePasswordGenerationPopup(); 141 HidePasswordGenerationPopup();
147 }; 142 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698