| OLD | NEW |
| 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/common_custom_types.mojom"; | 8 import "mojo/common/string16.mojom"; |
| 9 | 9 |
| 10 // There is one instance of this interface per render frame in the render | 10 // There is one instance of this interface per render frame in the render |
| 11 // process. | 11 // process. |
| 12 interface AutofillAgent { | 12 interface AutofillAgent { |
| 13 // Tells the render frame that a user gesture was observed | 13 // Tells the render frame that a user gesture was observed |
| 14 // somewhere in the tab (including in a different frame). | 14 // somewhere in the tab (including in a different frame). |
| 15 FirstUserGestureObservedInTab(); | 15 FirstUserGestureObservedInTab(); |
| 16 | 16 |
| 17 // Instructs the renderer to fill the active form with the given form data. | 17 // Instructs the renderer to fill the active form with the given form data. |
| 18 // Please refer AutofillDriver.QueryFormFieldAutofill comments about the |id|. | 18 // Please refer AutofillDriver.QueryFormFieldAutofill comments about the |id|. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // be blacklisted if a user chooses "never save passwords for this site". | 98 // be blacklisted if a user chooses "never save passwords for this site". |
| 99 FormNotBlacklisted(PasswordForm form); | 99 FormNotBlacklisted(PasswordForm form); |
| 100 | 100 |
| 101 // Sent when Autofill manager gets the query response from the Autofill server | 101 // Sent when Autofill manager gets the query response from the Autofill server |
| 102 // and there are fields classified for password generation in the response. | 102 // and there are fields classified for password generation in the response. |
| 103 FoundFormsEligibleForGeneration(array<PasswordFormGenerationData> forms); | 103 FoundFormsEligibleForGeneration(array<PasswordFormGenerationData> forms); |
| 104 | 104 |
| 105 // Tells the renderer to enable the form classifier. | 105 // Tells the renderer to enable the form classifier. |
| 106 AllowToRunFormClassifier(); | 106 AllowToRunFormClassifier(); |
| 107 }; | 107 }; |
| OLD | NEW |