| Index: webkit/api/src/FrameLoaderClientImpl.cpp
|
| ===================================================================
|
| --- webkit/api/src/FrameLoaderClientImpl.cpp (revision 30634)
|
| +++ webkit/api/src/FrameLoaderClientImpl.cpp (working copy)
|
| @@ -152,6 +152,14 @@
|
| {
|
| }
|
|
|
| +bool FrameLoaderClientImpl::allowJavaScript(bool enabledPerSettings)
|
| +{
|
| + if (m_webFrame->client())
|
| + return m_webFrame->client()->allowScript(m_webFrame, enabledPerSettings);
|
| +
|
| + return enabledPerSettings;
|
| +}
|
| +
|
| bool FrameLoaderClientImpl::hasWebView() const
|
| {
|
| return m_webFrame->viewImpl() != 0;
|
|
|