summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/PlatformBridge.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-05-14 15:38:53 -0400
committerLeon Scroggins <scroggo@google.com>2010-09-10 12:55:11 -0400
commit3e63d9b33b753ca86d0765d1b3d711114ba9e34f (patch)
tree8dba0e0e578259d8c8a7a63086d1368b77b8298f /WebKit/android/WebCoreSupport/PlatformBridge.cpp
parent4d0c6794412a7e92fb14e428744c1ebeb306dc56 (diff)
downloadexternal_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.zip
external_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.tar.gz
external_webkit-3e63d9b33b753ca86d0765d1b3d711114ba9e34f.tar.bz2
Allow WebKit to scroll selection on screen.
Requires a change to frameworks/base Bug 2679411 Bug 2659028 Change-Id: I482cefadc24c620c6d07cbce44acc216bdb9b8df
Diffstat (limited to 'WebKit/android/WebCoreSupport/PlatformBridge.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/PlatformBridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/PlatformBridge.cpp b/WebKit/android/WebCoreSupport/PlatformBridge.cpp
index 754e4d9..f02f6b7 100644
--- a/WebKit/android/WebCoreSupport/PlatformBridge.cpp
+++ b/WebKit/android/WebCoreSupport/PlatformBridge.cpp
@@ -140,7 +140,7 @@ bool PlatformBridge::canScroll(const WebCore::FrameView* frameView)
// we know how to do this ourselves in the UI thread.
// An example of it being initiated by the user is if the user clicks
// an anchor element which simply scrolls the page.
- return android::WebFrame::getWebFrame(frameView->frame())->userInitiatedClick();
+ return android::WebFrame::getWebFrame(frameView->frame())->userInitiatedAction();
}
bool PlatformBridge::popupsAllowed(NPP)