summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/autofill/form_suggestion_view_client.h
blob: a3af25f4d3cc91554148fb6c4eaf7097f14c48bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2013 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_AUTOFILL_FORM_SUGGESTION_VIEW_CLIENT_H_
#define IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_VIEW_CLIENT_H_

#import <Foundation/Foundation.h>

@class FormSuggestion;

// Handles user interaction with a FormSuggestionView.
@protocol FormSuggestionViewClient<NSObject>

// Called when a suggestion is selected.
- (void)didSelectSuggestion:(FormSuggestion*)suggestion;

@end

#endif  // IOS_CHROME_BROWSER_AUTOFILL_FORM_SUGGESTION_VIEW_CLIENT_H_