summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-12-11 12:50:10 -0500
committerCary Clark <cary@android.com>2009-12-15 11:37:47 -0500
commitd4924af12855cd19162ba1442a6055664c98ca32 (patch)
treef5e2fcd6c7877b79aca9963126d734a5d6dff1a4 /WebCore/plugins
parent334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e (diff)
downloadexternal_webkit-d4924af12855cd19162ba1442a6055664c98ca32.zip
external_webkit-d4924af12855cd19162ba1442a6055664c98ca32.tar.gz
external_webkit-d4924af12855cd19162ba1442a6055664c98ca32.tar.bz2
check to see if nav cache is up to date on tap
- WebKit/android/jni/WebViewCore.cpp - WebKit/android/jni/WebViewCore.h Add validNodeAndBounds() to determine if the clicked cached node is good. First check to see if the pointer to the frame and node still exist in the DOM. If they do, see if the hit test bounds they point to is the same as when the cache was recorded. - WebKit/android/nav/CacheBuilder.cpp - WebKit/android/nav/CachedNode.h Record the original absolute bounds for later comparison. - WebKit/android/nav/CacheBuilder.h Make getAreaRect() public so it can be called by validation. - WebKit/android/nav/WebView.cpp Enhance motionUp() with additional validation: use pointInNavCache() to see if there's a cached node; wait for message from webkit to see if bounds is unchanged; then use motionUp() to pass the original or altered click. This is a two-part change with frameworks/base. Fixes http://b/2249425
Diffstat (limited to 'WebCore/plugins')
0 files changed, 0 insertions, 0 deletions