OSDN Git Service

By default, provide native AutoFill with an empty profile.
authorBen Murdoch <benm@google.com>
Wed, 17 Nov 2010 11:03:51 +0000 (11:03 +0000)
committerBen Murdoch <benm@google.com>
Tue, 23 Nov 2010 12:13:06 +0000 (12:13 +0000)
commitca8cd243dacc9e4491fc2cce61e6d360b64e2cb8
treeeed1dc5595634a522bab3286bc5069560deded7b
parentd8fcffded6ee266e903e4e191ed95a07007fac74
By default, provide native AutoFill with an empty profile.

If no profile is set then AutoFill will not inform Java that it has
found a form that could be autofilled. We want to be able to offer
the user the option Java side to set up a profile in this case, so
we set by default an empty profile that is active until the user
syncs their real profile. This ensures that the AutoFill detection
code will not early out.

Change-Id: I474b25c5b31dae59e4ddb23c7f398d013e9d3beb
WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
WebKit/android/WebCoreSupport/autofill/WebAutoFill.h