Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: webkit/api/src/FrameLoaderClientImpl.cpp

Issue 351013: Chrome changes to extract the code from V8Proxy that special-cases... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/src/FrameLoaderClientImpl.h ('k') | webkit/api/src/TemporaryGlue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « webkit/api/src/FrameLoaderClientImpl.h ('k') | webkit/api/src/TemporaryGlue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698