Commit bf773c3d authored by John Z Wu's avatar John Z Wu Committed by Commit Bot

Fix delegate methods in shell_autofill_delegate.

Protocol implementation was not updated to match new signature.

Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Ife923bfd9ad80962d322594fc7bacaf50a051a4e
Reviewed-on: https://chromium-review.googlesource.com/998678Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: John Wu <jzw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548620}
parent c8aeb1bb
......@@ -38,7 +38,7 @@
- (void)autofillController:(CWVAutofillController*)autofillController
didFocusOnFieldWithName:(NSString*)fieldName
withIdentifier:(NSString*)fieldIdentifier
fieldIdentifier:(NSString*)fieldIdentifier
formName:(NSString*)formName
value:(NSString*)value {
_autofillController = autofillController;
......@@ -82,6 +82,7 @@
- (void)autofillController:(CWVAutofillController*)autofillController
didInputInFieldWithName:(NSString*)fieldName
fieldIdentifier:(NSString*)fieldIdentifier
formName:(NSString*)formName
value:(NSString*)value {
// Not implemented.
......@@ -89,6 +90,7 @@
- (void)autofillController:(CWVAutofillController*)autofillController
didBlurOnFieldWithName:(NSString*)fieldName
fieldIdentifier:(NSString*)fieldIdentifier
formName:(NSString*)formName
value:(NSString*)value {
[_alertController dismissViewControllerAnimated:YES completion:nil];
......@@ -96,6 +98,13 @@
_autofillController = nil;
}
- (void)autofillController:(CWVAutofillController*)autofillController
didSubmitFormWithName:(NSString*)formName
userInitiated:(BOOL)userInitiated
isMainFrame:(BOOL)isMainFrame {
// Not implemented.
}
#pragma mark - Private Methods
- (UIAlertController*)newAlertController {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment