diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-18 04:18:25 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-18 04:18:25 +0000 |
commit | bed2242142e1dda956947ce6bf2429fe44922c1c (patch) | |
tree | ea0cb014a7eb410cc1783d8801f4f8ac7f98649c /webkit/glue/webpreferences.h | |
parent | 70aa23a21ac0d7a3f136b1e8acda479edd2b8cd7 (diff) | |
download | chromium_src-bed2242142e1dda956947ce6bf2429fe44922c1c.zip chromium_src-bed2242142e1dda956947ce6bf2429fe44922c1c.tar.gz chromium_src-bed2242142e1dda956947ce6bf2429fe44922c1c.tar.bz2 |
Chromium plumbing for new file:// security flag, including test_shell support.
This change does not alter behaviour but will enable a WebKit test to be
written.
BUG=4197
TEST=WebKit test pending
TBR=abarth
Review URL: http://codereview.chromium.org/625009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39334 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r-- | webkit/glue/webpreferences.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h index 58daa58..4c33fee 100644 --- a/webkit/glue/webpreferences.h +++ b/webkit/glue/webpreferences.h @@ -58,6 +58,7 @@ struct WebPreferences { GURL user_style_sheet_location; bool allow_universal_access_from_file_urls; + bool allow_file_access_from_file_urls; bool experimental_webgl_enabled; @@ -100,6 +101,7 @@ struct WebPreferences { tabs_to_links(true), user_style_sheet_enabled(false), allow_universal_access_from_file_urls(false), + allow_file_access_from_file_urls(true), experimental_webgl_enabled(false), geolocation_enabled(false) { } |