cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ios / chrome / browser / autofill / form_input_accessory_view_delegate.h
bloba86375634f0c6dd83adcb4484a00a903dcfcb26a
1 // Copyright 2014 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_INPUT_ACCESSORY_VIEW_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
8 #import <Foundation/Foundation.h>
10 // Handles user interaction with a FormInputAccessoryView.
11 @protocol FormInputAccessoryViewDelegate<NSObject>
13 // Called when the close button is pressed by the user.
14 - (void)closeKeyboardWithButtonPress;
15 // Called to close the keyboard when the user did not press the close button
16 // directly.
17 - (void)closeKeyboardWithoutButtonPress;
19 // Called when the previous button is pressed by the user.
20 - (void)selectPreviousElementWithButtonPress;
21 // Called to select the previous element when the user did not press the
22 // previous button directly.
23 - (void)selectPreviousElementWithoutButtonPress;
25 // Called when the next button is pressed by the user.
26 - (void)selectNextElementWithButtonPress;
27 // Called to select the next element when the user did not press the next button
28 // directly.
29 - (void)selectNextElementWithoutButtonPress;
31 // Called when updating the keyboard view. Checks if the page contains a next
32 // and a previous element.
33 // |completionHandler| is called with 2 BOOLs, the first indicating if a
34 // previous element was found, and the second indicating if a next element was
35 // found. |completionHandler| cannot be nil.
36 - (void)fetchPreviousAndNextElementsPresenceWithCompletionHandler:
37 (void (^)(BOOL, BOOL))completionHandler;
39 @end
41 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_