summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-06-05 14:21:53 -0700
committerGeorge Mount <mount@google.com>2012-06-06 14:57:09 -0700
commit581fa19e4b324576746089444574824363ed460c (patch)
treedf1510b248d62060c3cda5fe189fe1012f3b3934 /Source/WebKit/android/jni/WebViewCore.h
parent2348a346744a3172d32faf2e03369596b9402071 (diff)
downloadexternal_webkit-581fa19e4b324576746089444574824363ed460c.zip
external_webkit-581fa19e4b324576746089444574824363ed460c.tar.gz
external_webkit-581fa19e4b324576746089444574824363ed460c.tar.bz2
Fix scrolling behavior for text input and textarea.
Bug 6614784 Change-Id: Ifb6ef42fc4df4b163f29c9777c79f42b60a65f4e
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h
index 2951ec1..cf1295c 100644
--- a/Source/WebKit/android/jni/WebViewCore.h
+++ b/Source/WebKit/android/jni/WebViewCore.h
@@ -397,7 +397,7 @@ namespace android {
/**
* Scroll the focused textfield to (x, y) in document space
*/
- WebCore::IntRect scrollFocusedTextInput(float x, int y);
+ void scrollFocusedTextInput(float x, int y);
/**
* Set the FocusController's active and focused states, so that
* the caret will draw (true) or not.
@@ -733,7 +733,7 @@ namespace android {
static int getMaxLength(WebCore::Node* node);
static WTF::String getFieldName(WebCore::Node* node);
static bool isAutoCompleteEnabled(WebCore::Node* node);
- WebCore::IntRect absoluteContentRect(WebCore::Node* node,
+ WebCore::IntRect absoluteClientRect(WebCore::Node* node,
WebCore::LayerAndroid* layer);
static WebCore::IntRect positionToTextRect(const WebCore::Position& position,
WebCore::EAffinity affinity, const WebCore::IntPoint& offset);