diff options
Diffstat (limited to 'WebKit/android/nav/WebView.cpp')
| -rw-r--r-- | WebKit/android/nav/WebView.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp index 23a1ec0..0b1a4cf 100644 --- a/WebKit/android/nav/WebView.cpp +++ b/WebKit/android/nav/WebView.cpp @@ -945,6 +945,9 @@ void textInputMotionUp(int x, int y) if (node) { sendMotionUp(static_cast<WebCore::Frame*>(frame->framePointer()), static_cast<WebCore::Node*>(node->nodePointer()), x, y); + if (!node->isReadOnly()) { + displaySoftKeyboard(true); + } } } @@ -992,7 +995,9 @@ bool motionUp(int x, int y, int slop) viewInvalidate(); if (result->isTextField() || result->isTextArea()) { rebuildWebTextView(); - displaySoftKeyboard(true); + if (!result->isReadOnly()) { + displaySoftKeyboard(true); + } } else { clearTextEntry(); setFollowedLink(true); |
