| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_MANUAL_FILL_CONTENT_DELEGATE_H_ |
| #define IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_MANUAL_FILL_CONTENT_DELEGATE_H_ |
| |
| #import <Foundation/Foundation.h> |
| |
| // Protocol to send Manual Fill user selections to be filled in the active web |
| // state. |
| @protocol ManualFillContentDelegate<NSObject> |
| |
| // Called after the user selects an element to be used as the input for the |
| // current form field. |
| // |
| // @param content The selected string. |
| // @param isSecure YES if the user selected a sensitive field, i.e. a password |
| // or a credit card. |
| - (void)userDidPickContent:(NSString*)content isSecure:(BOOL)isSecure; |
| |
| @end |
| |
| #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_MANUAL_FILL_MANUAL_FILL_CONTENT_DELEGATE_H_ |