diff options
Diffstat (limited to 'src/core/autofill_client_qt.cpp')
-rw-r--r-- | src/core/autofill_client_qt.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/autofill_client_qt.cpp b/src/core/autofill_client_qt.cpp index 7908b516c..fb3f726ae 100644 --- a/src/core/autofill_client_qt.cpp +++ b/src/core/autofill_client_qt.cpp @@ -19,7 +19,8 @@ namespace QtWebEngineCore { AutofillClientQt::AutofillClientQt(content::WebContents *webContents) - : content::WebContentsObserver(webContents) + : content::WebContentsUserData<AutofillClientQt>(*webContents) + , content::WebContentsObserver(webContents) , m_popupController(new AutofillPopupController(new AutofillPopupControllerPrivate)) { } @@ -107,6 +108,11 @@ bool AutofillClientQt::IsAutocompleteEnabled() return autofill::prefs::IsAutocompleteEnabled(GetPrefs()); } +bool AutofillClientQt::IsPasswordManagerEnabled() +{ + return false; +} + void AutofillClientQt::PropagateAutofillPredictions(content::RenderFrameHost *, const std::vector<autofill::FormStructure *> &) { |