summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.h
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-04-10 12:34:14 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-10 12:34:14 -0700
commitdb8579a73b67ad35cf3ae8794c4a9604320f3ede (patch)
treeaec0287f49134a0a528f346622231f273f84bbf4 /Source/WebKit/android/jni/WebViewCore.h
parent04ea32d2a76ad3bc3bf87474369a8517aabc3854 (diff)
parent76a09fb547aa97b2f0e9cbb1e4a800d61b30a477 (diff)
downloadexternal_webkit-db8579a73b67ad35cf3ae8794c4a9604320f3ede.zip
external_webkit-db8579a73b67ad35cf3ae8794c4a9604320f3ede.tar.gz
external_webkit-db8579a73b67ad35cf3ae8794c4a9604320f3ede.tar.bz2
Merge "Keep selection handles in edit fields."
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h
index 5e2bafb..d3f0e18 100644
--- a/Source/WebKit/android/jni/WebViewCore.h
+++ b/Source/WebKit/android/jni/WebViewCore.h
@@ -410,7 +410,7 @@ namespace android {
/**
* Scroll the focused textfield to (x, y) in document space
*/
- void scrollFocusedTextInput(float x, int y);
+ WebCore::IntRect scrollFocusedTextInput(float x, int y);
/**
* Set the FocusController's active and focused states, so that
* the caret will draw (true) or not.
@@ -748,9 +748,10 @@ namespace android {
static int getMaxLength(WebCore::Node* node);
static WTF::String getFieldName(WebCore::Node* node);
static bool isAutoCompleteEnabled(WebCore::Node* node);
- WebCore::IntRect boundingRect(WebCore::Node* node,
- WebCore::LayerAndroid* layer);
- static WebCore::IntRect positionToTextRect(const WebCore::Position& position);
+ WebCore::IntRect absoluteContentRect(WebCore::Node* node,
+ WebCore::LayerAndroid* layer);
+ static WebCore::IntRect positionToTextRect(const WebCore::Position& position,
+ WebCore::EAffinity affinity);
// called from constructor, to add this to a global list
static void addInstance(WebViewCore*);