summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-03-05 11:39:01 -0500
committerLeon Scroggins <scroggo@google.com>2010-03-05 15:44:16 -0500
commit5e539fa27ce46dc45a8529eff3a5aab16db633c2 (patch)
tree4c43f6a2a574491c297c284ce3383fd0d81c1c1f /WebKit/android/jni/WebViewCore.h
parent1b727a2ea5efc5f80c5aca847d20ff671c2dcc44 (diff)
downloadexternal_webkit-5e539fa27ce46dc45a8529eff3a5aab16db633c2.zip
external_webkit-5e539fa27ce46dc45a8529eff3a5aab16db633c2.tar.gz
external_webkit-5e539fa27ce46dc45a8529eff3a5aab16db633c2.tar.bz2
Set the proper frame's focus controller to active and focused.
When editing text, set the FocusController to both active and focused, and use the FocusController associated with the focus. Fixes http://b/issue?id=2251399
Diffstat (limited to 'WebKit/android/jni/WebViewCore.h')
-rw-r--r--WebKit/android/jni/WebViewCore.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebKit/android/jni/WebViewCore.h b/WebKit/android/jni/WebViewCore.h
index 7bac254..b7b931d 100644
--- a/WebKit/android/jni/WebViewCore.h
+++ b/WebKit/android/jni/WebViewCore.h
@@ -332,7 +332,11 @@ namespace android {
* Scroll the focused textfield to (x, y) in document space
*/
void scrollFocusedTextInput(float x, int y);
- void setFocusControllerActive(bool active);
+ /**
+ * Set the FocusController's active and focused states, so that
+ * the caret will draw (true) or not.
+ */
+ void setFocusControllerActive(WebCore::Frame*, bool active);
void saveDocumentState(WebCore::Frame* frame);