diff options
author | George Mount <mount@google.com> | 2012-04-10 13:41:59 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-10 13:41:59 -0700 |
commit | 7f1e5ac384d6c663e2cb6b6bb7a58a300d16e1be (patch) | |
tree | 62c6403e0b6422bb2f248d01c377fd3a18eb51c5 /Source/WebKit/android/jni/WebViewCore.h | |
parent | eb4152454774fa6e38c8be1a2810bc893d494de3 (diff) | |
download | external_webkit-7f1e5ac384d6c663e2cb6b6bb7a58a300d16e1be.zip external_webkit-7f1e5ac384d6c663e2cb6b6bb7a58a300d16e1be.tar.gz external_webkit-7f1e5ac384d6c663e2cb6b6bb7a58a300d16e1be.tar.bz2 |
Revert "Revert "Keep selection handles in edit fields.""
This reverts commit eb4152454774fa6e38c8be1a2810bc893d494de3
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.h | 9 |
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*); |