| Index: ios/chrome/browser/autofill/form_input_accessory_view_delegate.h
|
| diff --git a/ios/chrome/browser/autofill/form_input_accessory_view_delegate.h b/ios/chrome/browser/autofill/form_input_accessory_view_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..38c6f18f3b1088fa474d7a255c76aecc48d50d6b
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/autofill/form_input_accessory_view_delegate.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2014 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_INPUT_ACCESSORY_VIEW_DELEGATE_H_
|
| +#define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +// Handles user interaction with a FormInputAccessoryView.
|
| +@protocol FormInputAccessoryViewDelegate<NSObject>
|
| +
|
| +// Called when the close button is clicked.
|
| +- (void)closeKeyboard;
|
| +
|
| +// Called when the previous button is clicked.
|
| +- (void)selectPreviousElement;
|
| +
|
| +// Called when the next button is clicked.
|
| +- (void)selectNextElement;
|
| +
|
| +// Called when updating the keyboard view. Checks if the page contains a next
|
| +// and a previous element.
|
| +// |completionHandler| is called with 2 BOOLs, the first indicating if a
|
| +// previous element was found, and the second indicating if a next element was
|
| +// found. |completionHandler| cannot be nil.
|
| +- (void)fetchPreviousAndNextElementsPresenceWithCompletionHandler:
|
| + (void (^)(BOOL, BOOL))completionHandler;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
|
|
|