summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2012-02-24 18:06:28 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-24 18:06:28 -0800
commiteec5b0af072de315fa24ad51ff99ad9c09ace399 (patch)
tree51806ec23a634a61a54a9de1107c043688e63608 /Source/WebKit/android/nav/WebView.cpp
parentc4bf028cc0da190b72c31d53fae6eb8a67371ab0 (diff)
parent6bf2577653884795f04bbf9d8196ed9998896afe (diff)
downloadexternal_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.cpp16
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,