summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/autofill/form_suggestion_view_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'ios/chrome/browser/autofill/form_suggestion_view_client.h')
-rw-r--r--ios/chrome/browser/autofill/form_suggestion_view_client.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/ios/chrome/browser/autofill/form_suggestion_view_client.h b/ios/chrome/browser/autofill/form_suggestion_view_client.h
new file mode 100644
index 0000000..a3af25f
--- /dev/null
+++ b/ios/chrome/browser/autofill/form_suggestion_view_client.h
@@ -0,0 +1,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_