| Index: ios/chrome/browser/autofill/form_input_accessory_view.h
|
| diff --git a/ios/chrome/browser/autofill/form_input_accessory_view.h b/ios/chrome/browser/autofill/form_input_accessory_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b8992a5169338dcf3039d7a0308070f326823d2b
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/autofill/form_input_accessory_view.h
|
| @@ -0,0 +1,29 @@
|
| +// 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_H_
|
| +#define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_
|
| +
|
| +#import <UIKit/UIKit.h>
|
| +
|
| +@protocol FormInputAccessoryViewDelegate;
|
| +
|
| +// Subview of the accessory view for web forms. Shows a custom view with form
|
| +// navigation controls above the keyboard. Subclassed to enable input clicks by
|
| +// way of the playInputClick method.
|
| +@interface FormInputAccessoryView : UIView<UIInputViewAudioFeedback>
|
| +
|
| +// Initializes with |frame| and |delegate| to show |customView|. If the size of
|
| +// |rightFrame| is non-zero, the view will have two parts: the left one has
|
| +// frame |leftFrame| and the right one has frame |rightFrame|. Otherwise the
|
| +// view will be shown in |leftFrame|.
|
| +- (instancetype)initWithFrame:(CGRect)frame
|
| + delegate:(id<FormInputAccessoryViewDelegate>)delegate
|
| + customView:(UIView*)customView
|
| + leftFrame:(CGRect)leftFrame
|
| + rightFrame:(CGRect)rightFrame;
|
| +
|
| +@end
|
| +
|
| +#endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_
|
|
|