OSDN Git Service
(root)
/
android-x86
/
external-webkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b45c7f
)
Move selection on screen when size changes.
author
Leon Scroggins
<scroggo@google.com>
Wed, 19 Jan 2011 17:56:38 +0000
(12:56 -0500)
committer
Leon Scroggins
<scroggo@google.com>
Wed, 19 Jan 2011 18:19:02 +0000
(13:19 -0500)
Bug:
3367446
Change-Id: Idad0fae69588fd6ce9602319385e165d7e2ff5dd
WebKit/android/jni/WebViewCore.cpp
patch
|
blob
|
history
diff --git
a/WebKit/android/jni/WebViewCore.cpp
b/WebKit/android/jni/WebViewCore.cpp
index
defa66e
..
de85f19
100644
(file)
--- a/
WebKit/android/jni/WebViewCore.cpp
+++ b/
WebKit/android/jni/WebViewCore.cpp
@@
-1294,6
+1294,9
@@
void WebViewCore::setSizeScreenWidthAndScale(int width, int height,
}
}
+ // If this was in response to touching a textfield and showing the IME,
+ // the IME may now cover textfield. Bring it back into view.
+ revealSelection();
// update the currently visible screen as perceived by the plugin
sendPluginVisibleScreen();
}