diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 05:54:59 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 05:54:59 +0000 |
commit | 7ea093ba47c5a1a1652f7249faf56399dd66876f (patch) | |
tree | 9f6879802dc8445a09aa505b031f396138bb4605 /chrome/renderer/render_view.h | |
parent | fa7b6b547368d12ccd61f6cbf251f2ff0d37b504 (diff) | |
download | chromium_src-7ea093ba47c5a1a1652f7249faf56399dd66876f.zip chromium_src-7ea093ba47c5a1a1652f7249faf56399dd66876f.tar.gz chromium_src-7ea093ba47c5a1a1652f7249faf56399dd66876f.tar.bz2 |
Chrome changes to extract the code from V8Proxy that special-cases
when scripts are allowed despite user preferences disabling them.
Adds more accessors and comments to WebSecurityOrigin.
Removes no longer necessary webkit_glue functions.
Removes no longer necessary TemporaryGlue.h file.
R=abarth
BUG=none
TEST=browser features like the new tab page and history view should
still work when passing --disable-javascript to chrome. similarly,
file and ftp directory listings should remain functional when that
command line flag is specified.
Review URL: http://codereview.chromium.org/351013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 814d8bd..65e4975 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -350,6 +350,7 @@ class RenderView : public RenderWidget, virtual void didDisplayInsecureContent(WebKit::WebFrame* frame); virtual void didRunInsecureContent( WebKit::WebFrame* frame, const WebKit::WebSecurityOrigin& origin); + virtual bool allowScript(WebKit::WebFrame* frame, bool enabled_per_settings); virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); virtual void didCreateScriptContext(WebKit::WebFrame* frame); virtual void didDestroyScriptContext(WebKit::WebFrame* frame); |