diff options
author | George Mount <mount@google.com> | 2012-03-19 15:07:09 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-03-20 10:37:35 -0700 |
commit | 389aa1b64f2d8adcd29c3299090aa698ab15641a (patch) | |
tree | 17f0c0e01529110699ba41d769c13ece6c646904 /Source/WebKit/android/jni/WebViewCore.h | |
parent | a9cb027a0b6e5a76a39be3702d3c67f3d162a21f (diff) | |
download | external_webkit-389aa1b64f2d8adcd29c3299090aa698ab15641a.zip external_webkit-389aa1b64f2d8adcd29c3299090aa698ab15641a.tar.gz external_webkit-389aa1b64f2d8adcd29c3299090aa698ab15641a.tar.bz2 |
Make paste window and caret handle show up at the right time.
Bug 6194009
Framework Change: I460db436bd79d8ff72b457b5878ffe468400031f
Change-Id: I7f8bc7266df52a67245b0a971826fd14e0d715c5
Diffstat (limited to 'Source/WebKit/android/jni/WebViewCore.h')
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.h b/Source/WebKit/android/jni/WebViewCore.h index 6850111..479f549 100644 --- a/Source/WebKit/android/jni/WebViewCore.h +++ b/Source/WebKit/android/jni/WebViewCore.h @@ -602,7 +602,7 @@ namespace android { int startX, int startY, int endX, int endY); static int platformLayerIdFromNode(Node* node, LayerAndroid** outLayer = 0); void selectText(int startX, int startY, int endX, int endY); - void selectWordAt(int x, int y); + bool selectWordAt(int x, int y); // Converts from the global content coordinates that WebView sends // to frame-local content coordinates using the focused frame @@ -732,7 +732,7 @@ namespace android { VisiblePosition visiblePositionForContentPoint(int x, int y); VisiblePosition visiblePositionForContentPoint(const IntPoint& point); - void selectWordAroundPosition(Frame* frame, VisiblePosition pos); + bool selectWordAroundPosition(Frame* frame, VisiblePosition pos); SelectText* createSelectText(const VisibleSelection&); static int getMaxLength(Node* node); static String getFieldName(Node* node); |