Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: ios/chrome/browser/autofill/form_input_accessory_view_delegate.h

Issue 1022463002: [iOS] Upstream files in //ios/chrome/browser/autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9
10 // Handles user interaction with a FormInputAccessoryView.
11 @protocol FormInputAccessoryViewDelegate<NSObject>
12
13 // Called when the close button is clicked.
14 - (void)closeKeyboard;
15
16 // Called when the previous button is clicked.
17 - (void)selectPreviousElement;
18
19 // Called when the next button is clicked.
20 - (void)selectNextElement;
21
22 // Called when updating the keyboard view. Checks if the page contains a next
23 // and a previous element.
24 // |completionHandler| is called with 2 BOOLs, the first indicating if a
25 // previous element was found, and the second indicating if a next element was
26 // found. |completionHandler| cannot be nil.
27 - (void)fetchPreviousAndNextElementsPresenceWithCompletionHandler:
28 (void (^)(BOOL, BOOL))completionHandler;
29
30 @end
31
32 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698