Index: components/autofill/ios/browser/js_autofill_manager.h |
diff --git a/components/autofill/ios/browser/js_autofill_manager.h b/components/autofill/ios/browser/js_autofill_manager.h |
index 4ac923effc59dce81977da6088291d1c42f8b0ad..f45198117940562ed14827405459b42dd56d6c60 100644 |
--- a/components/autofill/ios/browser/js_autofill_manager.h |
+++ b/components/autofill/ios/browser/js_autofill_manager.h |
@@ -23,6 +23,10 @@ |
minimumRequiredFieldsCount:(NSUInteger)requiredFieldsCount |
completionHandler:(void (^)(NSString*))completionHandler; |
+// Stores the current active element. This is used to make the element active |
+// again in case the web view loses focus when a dialog is presented over it. |
+- (void)storeActiveElement; |
+ |
// Fills the data in JSON string |dataString| into the active form field, then |
// executes the |completionHandler|. |
- (void)fillActiveFormField:(NSString*)dataString |