Will it support xwalk application?
If yes, perhaps we need to figure out the best place to store the
autofill data, maybe somewhere under the application's storage.
- Ming, Bai
On 11/25/2013 11:16 AM, Yin, Li wrote:
*_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
_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev