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 53b7437eea3de3288ee9037d54a37e7498590a26..808ad389bc6f8805e62fcc8e318673ea7d6852be 100644 |
--- a/components/autofill/ios/browser/js_autofill_manager.h |
+++ b/components/autofill/ios/browser/js_autofill_manager.h |
@@ -47,13 +47,19 @@ |
completionHandler:(ProceduralBlock)completionHandler; |
// Fills a number of fields in the same named form. |
+// If |onlyFillEmpty| is true then only empty fields will be filled. Otherwise |
+// all fields will be filled. |
+// Field named |forceFillFieldName| will always be filled, regardless of value |
+// of |onlyFillEmpty|. May be null. |
// Applies Autofill CSS (i.e. yellow background) to filled elements if |
// |styleElements| is true. |
// |completionHandler| is called after the forms are filled. |completionHandler| |
// cannot be nil. |
- (void)fillForm:(NSString*)dataString |
- styleElements:(BOOL)styleElements |
- completionHandler:(ProceduralBlock)completionHandler; |
+ onlyFillEmpty:(BOOL)onlyFillEmpty |
+ forceFillFieldName:(NSString*)forceFillFieldName |
+ styleElements:(BOOL)styleElements |
+ completionHandler:(ProceduralBlock)completionHandler; |
// Dispatches the autocomplete event to the form element with the given |
// |formName|. |