diff options
| author | John Reck <jreck@google.com> | 2012-02-24 18:06:28 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-24 18:06:28 -0800 |
| commit | eec5b0af072de315fa24ad51ff99ad9c09ace399 (patch) | |
| tree | 51806ec23a634a61a54a9de1107c043688e63608 /Source/WebKit/android/nav/WebView.cpp | |
| parent | c4bf028cc0da190b72c31d53fae6eb8a67371ab0 (diff) | |
| parent | 6bf2577653884795f04bbf9d8196ed9998896afe (diff) | |
| download | external_webkit-eec5b0af072de315fa24ad51ff99ad9c09ace399.zip external_webkit-eec5b0af072de315fa24ad51ff99ad9c09ace399.tar.gz external_webkit-eec5b0af072de315fa24ad51ff99ad9c09ace399.tar.bz2 | |
Merge "Delete CacheBuilder"
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
| -rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 7f7cf94..9e3c094 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -1552,19 +1552,7 @@ static const CachedInput* getInputCandidate(JNIEnv *env, jobject obj) static jboolean nativePageShouldHandleShiftAndArrows(JNIEnv *env, jobject obj) { -#if ENABLE(ANDROID_NAVCACHE) - const CachedNode* focus = getFocusNode(env, obj); - if (!focus) return false; - // Plugins handle shift and arrows whether or not they have focus. - if (focus->isPlugin()) return true; - const CachedNode* cursor = getCursorNode(env, obj); - // ContentEditable nodes should only receive shift and arrows if they have - // both the cursor and the focus. - return cursor && cursor->nodePointer() == focus->nodePointer() - && cursor->isContentEditable(); -#else return true; -#endif } static jobject nativeCursorNodeBounds(JNIEnv *env, jobject obj) @@ -2393,11 +2381,7 @@ static void nativeSetPauseDrawing(JNIEnv *env, jobject obj, jint nativeView, static bool nativeDisableNavcache(JNIEnv *env, jobject obj) { -#if ENABLE(ANDROID_NAVCACHE) - return false; -#else return true; -#endif } static void nativeSetTextSelection(JNIEnv *env, jobject obj, jint nativeView, |
