1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef IOS_WEB_VIEW_INTERNAL_AUTOFILL_CWV_AUTOFILL_SUGGESTION_INTERNAL_H_
6 #define IOS_WEB_VIEW_INTERNAL_AUTOFILL_CWV_AUTOFILL_SUGGESTION_INTERNAL_H_
7 
8 #import "ios/web_view/public/cwv_autofill_suggestion.h"
9 
10 NS_ASSUME_NONNULL_BEGIN
11 
12 @class FormSuggestion;
13 
14 @interface CWVAutofillSuggestion ()
15 
16 - (instancetype)initWithFormSuggestion:(FormSuggestion*)formSuggestion
17                               formName:(NSString*)formName
18                        fieldIdentifier:(NSString*)fieldIdentifier
19                                frameID:(NSString*)frameID
20                   isPasswordSuggestion:(BOOL)isPasswordSuggestion
21     NS_DESIGNATED_INITIALIZER;
22 
23 // The internal autofill form suggestion.
24 @property(nonatomic, readonly) FormSuggestion* formSuggestion;
25 
26 @end
27 
28 NS_ASSUME_NONNULL_END
29 
30 #endif  // IOS_WEB_VIEW_INTERNAL_AUTOFILL_CWV_AUTOFILL_SUGGESTION_INTERNAL_H_
31