| 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 import "mojo/common/time.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 | 11 |
| 11 // There is one instance of this interface per render frame host in the browser | 12 // There is one instance of this interface per render frame host in the browser |
| 12 // process. | 13 // process. |
| 13 interface AutofillDriver { | 14 interface AutofillDriver { |
| 14 // Notification that there has been a user gesture. | 15 // Notification that there has been a user gesture. |
| 15 FirstUserGestureObserved(); | 16 FirstUserGestureObserved(); |
| 16 | 17 |
| 17 // Notification that forms have been seen that are candidates for | 18 // Notification that forms have been seen that are candidates for |
| 18 // filling/submitting by the AutofillManager. | 19 // filling/submitting by the AutofillManager. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 PasswordForm password_form); | 130 PasswordForm password_form); |
| 130 | 131 |
| 131 // Instructs the browser to show the popup for editing a generated password. | 132 // Instructs the browser to show the popup for editing a generated password. |
| 132 // The location should be specified in the renderers coordinate system. Form | 133 // The location should be specified in the renderers coordinate system. Form |
| 133 // is the form associated with the password field. | 134 // is the form associated with the password field. |
| 134 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form); | 135 ShowPasswordEditingPopup(gfx.mojom.RectF bounds, PasswordForm password_form); |
| 135 | 136 |
| 136 // Instructs the browser to hide any password generation popups. | 137 // Instructs the browser to hide any password generation popups. |
| 137 HidePasswordGenerationPopup(); | 138 HidePasswordGenerationPopup(); |
| 138 }; | 139 }; |
| OLD | NEW |