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

Unified Diff: ios/chrome/browser/autofill/form_suggestion_controller.mm

Issue 2146523004: Make full-form autofill the only implementation on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « ios/chrome/browser/about_flags.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/autofill/form_suggestion_controller.mm
diff --git a/ios/chrome/browser/autofill/form_suggestion_controller.mm b/ios/chrome/browser/autofill/form_suggestion_controller.mm
index 71a5d783d5b4e5f1c841b0424d17c1c6c417986c..2499d402ec3c72893d691289023a39e180ae90a0 100644
--- a/ios/chrome/browser/autofill/form_suggestion_controller.mm
+++ b/ios/chrome/browser/autofill/form_suggestion_controller.mm
@@ -13,7 +13,6 @@
#include "base/mac/scoped_nsobject.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
-#include "components/autofill/core/browser/autofill_field_trial_ios.h"
#include "components/autofill/core/browser/autofill_popup_delegate.h"
#import "components/autofill/ios/browser/form_suggestion.h"
#import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h"
@@ -304,12 +303,7 @@ AutofillSuggestionState::AutofillSuggestionState(const std::string& form_name,
forField:base::SysUTF8ToNSString(_suggestionState->field_name)
form:base::SysUTF8ToNSString(_suggestionState->form_name)
completionHandler:^{
- if (autofill::AutofillFieldTrialIOS::IsFullFormAutofillEnabled()) {
- [[weakSelf accessoryViewDelegate] closeKeyboardWithoutButtonPress];
- } else {
- [[weakSelf accessoryViewDelegate]
- selectNextElementWithoutButtonPress];
- }
+ [[weakSelf accessoryViewDelegate] closeKeyboardWithoutButtonPress];
}];
_provider = nil;
}
« no previous file with comments | « ios/chrome/browser/about_flags.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698