Index: ios/chrome/browser/autofill/form_suggestion_view_client.h |
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 0000000000000000000000000000000000000000..a3af25f4d3cc91554148fb6c4eaf7097f14c48bb |
--- /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_ |