Summary: Every time the user submits a form, entries in text input fields organized by the name of the field specified in html get stored in the database under the profile. When the user opens a webpage containing a form and types into one of the fields, Xwalk checks the database for past entries into fields with the same name. As the user types, a pop-up menu appears allowing the user to select from entries which match the prefix already entered.
Affected component: N/A Related feature: XWALK-157 < https://crosswalk-project.org/jira/browse/XWALK-157> Target Release: Crosswalk 3 Implementation details: - XWalkSettings class provides set/getSaveFormData API, which can control the suggestion dialog will be popped up or not. - XWalkContent class provides getFormDatabase interface to get an XWalkFormDatabase object. Through XWalkFormDatabase object, developers can call hasFormData() to check if there is relevant database, and can clear form database through clearFormData(). - In native code side, added followed files to implement auto complete. xwalk_autofill_manager_delegate.cc xwalk_autofill_manager_delegate.h xwalk_form_database.cc xwalk_form_database.h xwalk_form_database_service.cc xwalk_form_database_service.h - In java code side, followed files are created: XWalkAutofillManagerDelegate.java XWalkFormDatabase.java Regards, Li Yin
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
