blob: 9910bd68ba8242dc105c0f558861674945a616ac [file] [log] [blame]
// Copyright 2018 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_CONSUMER_H_
#define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_CONSUMER_H_
#import <UIKit/UIKit.h>
@protocol FormInputAccessoryViewDelegate;
@protocol FormInputAccessoryConsumer<NSObject>
// Removes the animations on the custom keyboard view.
- (void)removeAnimationsOnKeyboardView;
// Restores the keyboard and its default input accessory view, removing (if
// necessary) any previously-added custom view.
- (void)restoreKeyboardView;
// Hides the default input accessory view and replaces it with one that shows
// |customView| and form navigation controls.
- (void)showCustomInputAccessoryView:(UIView*)view
navigationDelegate:
(id<FormInputAccessoryViewDelegate>)navigationDelegate;
@end
#endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_CONSUMER_H_