Autofill popup was shown even if Autofill was turned off
in browser settings. This fixes that behavior.
Reviewed by: Jaesik Chang, Piotr Grad
Change-Id: I6c0763005be3a349c1be31b6709228bdb2c0a2e0
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
}
bool AutofillManagerDelegateEfl::IsAutocompleteEnabled() {
- return GetPrefs()->GetBoolean(autofill::prefs::kAutofillEnabled);
+ if(webview_)
+ return webview_->GetSettings()->autofillProfileForm();
+ return false;
}
bool AutofillManagerDelegateEfl::IsAutocompleteSavingEnabled() {
if(webview_)
return webview_->GetSettings()->formCandidateData();
+ return false;
}
void AutofillManagerDelegateEfl::HideRequestAutocompleteDialog() {