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

Unified 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: Don't show view until suggestions available, unlisten when switching tabs, DCHECK keyboard view 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/autofill/form_input_accessory_view_controller.h
diff --git a/ios/chrome/browser/autofill/form_input_accessory_view_controller.h b/ios/chrome/browser/autofill/form_input_accessory_view_controller.h
index 0ed51250837151ae240c44ac9c9c24a5deb7fa2f..03a474e0a5f314389ce3b8101c9db6339dd1de8a 100644
--- a/ios/chrome/browser/autofill/form_input_accessory_view_controller.h
+++ b/ios/chrome/browser/autofill/form_input_accessory_view_controller.h
@@ -16,6 +16,7 @@ namespace autofill {
extern NSString* const kFormSuggestionAssistButtonPreviousElement;
extern NSString* const kFormSuggestionAssistButtonNextElement;
extern NSString* const kFormSuggestionAssistButtonDone;
+extern CGFloat const kInputAccessoryHeight;
} // namespace autofill
@protocol FormInputAccessoryViewProvider;
@@ -80,6 +81,12 @@ typedef void (^AccessoryViewReadyCompletion)(
- (instancetype)initWithWebState:(web::WebState*)webState
providers:(NSArray*)providers;
+// Notifies the controller that the owning tab was shown.
+- (void)wasShown;
+
+// Notifies the controller that the owning tab was hidden.
+- (void)wasHidden;
+
// Hides the default input accessory view and replaces it with one that shows
// |customView| and form navigation controls.
- (void)showCustomInputAccessoryView:(UIView*)customView;

Powered by Google App Engine
This is Rietveld 408576698