From 6bf2577653884795f04bbf9d8196ed9998896afe Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 24 Feb 2012 15:44:20 -0800 Subject: Delete CacheBuilder Fixed address_detector to pass CTS Change-Id: I6e3c4146d4c03881d036be9b8d8708a8200efef8 --- Source/WebKit/android/nav/WebView.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'Source/WebKit/android/nav/WebView.cpp') diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index 2bd76f5..e6e2225 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -1551,19 +1551,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) @@ -2392,11 +2380,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, -- cgit v1.1