summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-11-24 14:55:38 -0500
committerLeon Scroggins <scroggo@google.com>2009-11-25 10:14:58 -0500
commit6e752dd8042aae87f4827210909b1bfdaa58fbb7 (patch)
tree84a1a43c135200638f9995fdef8ee49af4b7d346 /WebKit/android/nav
parent5b4f81709e8df8d953e2ad8496996fb0112b6186 (diff)
downloadexternal_webkit-6e752dd8042aae87f4827210909b1bfdaa58fbb7.zip
external_webkit-6e752dd8042aae87f4827210909b1bfdaa58fbb7.tar.gz
external_webkit-6e752dd8042aae87f4827210909b1bfdaa58fbb7.tar.bz2
Remove nativeTextInputMotionUp.
Function is not needed. Requires a change to frameworks/base
Diffstat (limited to 'WebKit/android/nav')
-rw-r--r--WebKit/android/nav/WebView.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp
index 88aa48f..4939637 100644
--- a/WebKit/android/nav/WebView.cpp
+++ b/WebKit/android/nav/WebView.cpp
@@ -905,29 +905,6 @@ void setNavBounds(const WebCore::IntRect& rect)
root->rootHistory()->setNavBounds(rect);
}
-/**
- * This function is only to be called by WebTextView, when there is a motion up
- * on an already focused text input. Unlike motionUp which may change our
- * cursor, it simply passes the click, so it can change the selection.
- * Variables are in content space, relative to the page.
- */
-void textInputMotionUp(int x, int y)
-{
- const CachedRoot* root = getFrameCache(DontAllowNewer);
- if (!root) {
- return;
- }
- const CachedFrame* frame;
- const CachedNode* node = root->currentCursor(&frame);
- if (node) {
- sendMotionUp(static_cast<WebCore::Frame*>(frame->framePointer()),
- static_cast<WebCore::Node*>(node->nodePointer()), x, y);
- if (!node->isReadOnly()) {
- displaySoftKeyboard(true);
- }
- }
-}
-
bool motionUp(int x, int y, int slop)
{
bool pageScrolled = false;
@@ -1733,12 +1710,6 @@ static jint nativeTextGeneration(JNIEnv *env, jobject obj)
return root ? root->textGeneration() : 0;
}
-static void nativeTextInputMotionUp(JNIEnv *env, jobject obj, int x, int y)
-{
- WebView* view = GET_NATIVE_VIEW(env, obj);
- view->textInputMotionUp(x, y);
-}
-
static bool nativeMotionUp(JNIEnv *env, jobject obj,
int x, int y, int slop)
{
@@ -2094,8 +2065,6 @@ static JNINativeMethod gJavaWebViewMethods[] = {
(void*) nativeImageURI },
{ "nativeInstrumentReport", "()V",
(void*) nativeInstrumentReport },
- { "nativeTextInputMotionUp", "(II)V",
- (void*) nativeTextInputMotionUp },
{ "nativeMotionUp", "(III)Z",
(void*) nativeMotionUp },
{ "nativeMoveCursor", "(IIZ)Z",