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

Side by Side Diff: ios/chrome/browser/autofill/form_input_accessory_view_controller.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
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_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/autofill/form_input_accessory_view_delegate.h" 10 #import "ios/chrome/browser/autofill/form_input_accessory_view_delegate.h"
11 #import "ios/web/public/web_state/web_state_observer_bridge.h" 11 #import "ios/web/public/web_state/web_state_observer_bridge.h"
12 12
13 @protocol CRWWebViewProxy; 13 @protocol CRWWebViewProxy;
14 14
15 namespace autofill { 15 namespace autofill {
16 extern NSString* const kFormSuggestionAssistButtonPreviousElement; 16 extern NSString* const kFormSuggestionAssistButtonPreviousElement;
17 extern NSString* const kFormSuggestionAssistButtonNextElement; 17 extern NSString* const kFormSuggestionAssistButtonNextElement;
18 extern NSString* const kFormSuggestionAssistButtonDone; 18 extern NSString* const kFormSuggestionAssistButtonDone;
19 extern CGFloat const kInputAccessoryHeight;
19 } // namespace autofill 20 } // namespace autofill
20 21
21 @protocol FormInputAccessoryViewProvider; 22 @protocol FormInputAccessoryViewProvider;
22 @class FormInputAccessoryViewController; 23 @class FormInputAccessoryViewController;
23 24
24 // Block type to indicate that a FormInputAccessoryViewProvider has an accessory 25 // Block type to indicate that a FormInputAccessoryViewProvider has an accessory
25 // view to provide. 26 // view to provide.
26 typedef void (^AccessoryViewAvailableCompletion)( 27 typedef void (^AccessoryViewAvailableCompletion)(
27 BOOL inputAccessoryViewAvailable); 28 BOOL inputAccessoryViewAvailable);
28 29
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // |customView| and form navigation controls. 85 // |customView| and form navigation controls.
85 - (void)showCustomInputAccessoryView:(UIView*)customView; 86 - (void)showCustomInputAccessoryView:(UIView*)customView;
86 87
87 // Restores the default input accessory view, removing (if necessary) any 88 // Restores the default input accessory view, removing (if necessary) any
88 // previously-added custom view. 89 // previously-added custom view.
89 - (void)restoreDefaultInputAccessoryView; 90 - (void)restoreDefaultInputAccessoryView;
90 91
91 @end 92 @end
92 93
93 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_CONTROLLER_H_ 94 #endif // IOS_CHROME_BROWSER_AUTOFILL_FORM_INPUT_ACCESSORY_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698