diff options
author | Leon Scroggins <scroggo@google.com> | 2010-03-05 11:39:01 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-03-05 15:44:16 -0500 |
commit | 5e539fa27ce46dc45a8529eff3a5aab16db633c2 (patch) | |
tree | 4c43f6a2a574491c297c284ce3383fd0d81c1c1f /WebKit/android/jni/WebViewCore.h | |
parent | 1b727a2ea5efc5f80c5aca847d20ff671c2dcc44 (diff) | |
download | external_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.h | 6 |
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); |