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

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

Issue 1305433003: Make Autofill work again on iPads running iOS 9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | ios/chrome/browser/autofill/form_input_accessory_view.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_ 5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_ 6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 @protocol FormInputAccessoryViewDelegate; 10 @protocol FormInputAccessoryViewDelegate;
11 11
12 // Subview of the accessory view for web forms. Shows a custom view with form 12 // Subview of the accessory view for web forms. Shows a custom view with form
13 // navigation controls above the keyboard. Subclassed to enable input clicks by 13 // navigation controls above the keyboard. Subclassed to enable input clicks by
14 // way of the playInputClick method. 14 // way of the playInputClick method.
15 @interface FormInputAccessoryView : UIView<UIInputViewAudioFeedback> 15 @interface FormInputAccessoryView : UIView<UIInputViewAudioFeedback>
16 16
17 // Initializes with |frame| and |delegate| to show |customView|. If the size of 17 // Initializes with |frame| and |delegate| to show |customView|. If the size of
18 // |rightFrame| is non-zero, the view will have two parts: the left one has 18 // |rightFrame| is non-zero, the view will have two parts: the left one has
19 // frame |leftFrame| and the right one has frame |rightFrame|. Otherwise the 19 // frame |leftFrame| and the right one has frame |rightFrame|. Otherwise the
20 // view will be shown in |leftFrame|. 20 // view will be shown in |leftFrame|.
21 - (instancetype)initWithFrame:(CGRect)frame 21 - (instancetype)initWithFrame:(CGRect)frame
22 delegate:(id<FormInputAccessoryViewDelegate>)delegate 22 delegate:(id<FormInputAccessoryViewDelegate>)delegate
23 customView:(UIView*)customView 23 customView:(UIView*)customView
24 leftFrame:(CGRect)leftFrame 24 leftFrame:(CGRect)leftFrame
25 rightFrame:(CGRect)rightFrame; 25 rightFrame:(CGRect)rightFrame;
26 26
27 // Initializes with |frame| to show |customView|. Navigation controls are not
28 // shown.
29 - (instancetype)initWithFrame:(CGRect)frame customView:(UIView*)customView;
27 @end 30 @end
28 31
29 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_ 32 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/autofill/form_input_accessory_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698