diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-07-25 17:48:02 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-07-25 17:48:02 -0700 |
commit | 9affe0ab6ef3bb4844d816fad644313cea9a9023 (patch) | |
tree | bed7d10716109e7ac19386813ba77c558e38faa2 /WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | |
parent | 3199981a0522022c71eb4e5a656f254b722d9713 (diff) | |
parent | b116c1a08412db8a748998c7e8a2ce851cbacacd (diff) | |
download | external_webkit-9affe0ab6ef3bb4844d816fad644313cea9a9023.zip external_webkit-9affe0ab6ef3bb4844d816fad644313cea9a9023.tar.gz external_webkit-9affe0ab6ef3bb4844d816fad644313cea9a9023.tar.bz2 |
Merge korg/donut into korg/master
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp')
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp index 714a7d8..7b09975 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp @@ -203,7 +203,10 @@ void ChromeClientAndroid::setStatusbarText(const String&) { notImplemented(); } // Javascript. If true is returned, the script is cancelled. // To make a device more responsive, we default to return true to disallow long running script. // This implies that some of scripts will not be completed. -bool ChromeClientAndroid::shouldInterruptJavaScript() { return true; } +bool ChromeClientAndroid::shouldInterruptJavaScript() { + FrameView* frameView = m_webFrame->page()->mainFrame()->view(); + return android::WebViewCore::getWebViewCore(frameView)->jsInterrupt(); +} bool ChromeClientAndroid::tabsToLinks() const { return false; } |