OSDN Git Service

Do not bring up the soft keyboard for readonly input fields.
authorLeon Scroggins <scroggo@google.com>
Thu, 15 Oct 2009 17:33:58 +0000 (13:33 -0400)
committerLeon Scroggins <scroggo@google.com>
Thu, 15 Oct 2009 18:03:04 +0000 (14:03 -0400)
commit8601da30c7a307f6ca8a2b15688480cc1e8251c9
tree420d968a1dbfcbe270264ca7a4277b3857f8880b
parent31f7153b80559d0b0580ce91bd1465aea7588aa2
Do not bring up the soft keyboard for readonly input fields.

Partial fix for http://b/issue?id=2159869.  Add a field to CachedNode
for readonly.  In WebView.cpp, only call displaySoftKeyboard if the
node is not readonly.  Also call displaySoftKeyboard in nativeTextMotionUp
to replace a call being removed in WebView.touchUpOnTextField(java).
WebKit/android/nav/CacheBuilder.cpp
WebKit/android/nav/CachedNode.h
WebKit/android/nav/WebView.cpp