cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ios / chrome / browser / autofill / form_suggestion_view.h
blob9a8c33c13c943e9167c547877bb246496a7300e0
1 // Copyright 2013 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.
5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_VIEW_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_VIEW_H_
8 #import <UIKit/UIKit.h>
10 #include "base/ios/weak_nsobject.h"
12 @protocol FormSuggestionViewClient;
14 // A scrollable view for displaying user-selectable autofill form suggestions.
15 @interface FormSuggestionView : UIScrollView<UIInputViewAudioFeedback>
17 // Initializes with |frame| and |client| to show |suggestions|.
18 - (instancetype)initWithFrame:(CGRect)frame
19 client:(id<FormSuggestionViewClient>)client
20 suggestions:(NSArray*)suggestions;
22 @end
24 @interface FormSuggestionView (ForTesting)
25 @property(nonatomic, readonly) NSArray* suggestions;
26 @end
28 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_VIEW_H_