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

Side by Side Diff: webkit/glue/webpreferences.h

Issue 625009: Chromium plumbing for new file:// security flag, including test_shell support... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 10 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « chrome/common/render_messages.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing webkit's settings. 5 // A struct for managing webkit's settings.
6 // 6 //
7 // Adding new values to this class probably involves updating 7 // Adding new values to this class probably involves updating
8 // WebKit::WebSettings, common/render_messages.h, and 8 // WebKit::WebSettings, common/render_messages.h, and
9 // browser/profile.cc. 9 // browser/profile.cc.
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool databases_enabled; 51 bool databases_enabled;
52 bool application_cache_enabled; 52 bool application_cache_enabled;
53 bool tabs_to_links; 53 bool tabs_to_links;
54 54
55 // TODO(tc): User style sheets will not work in chrome because it tries to 55 // TODO(tc): User style sheets will not work in chrome because it tries to
56 // load the style sheet using a request without a frame. 56 // load the style sheet using a request without a frame.
57 bool user_style_sheet_enabled; 57 bool user_style_sheet_enabled;
58 GURL user_style_sheet_location; 58 GURL user_style_sheet_location;
59 59
60 bool allow_universal_access_from_file_urls; 60 bool allow_universal_access_from_file_urls;
61 bool allow_file_access_from_file_urls;
61 62
62 bool experimental_webgl_enabled; 63 bool experimental_webgl_enabled;
63 64
64 bool geolocation_enabled; 65 bool geolocation_enabled;
65 66
66 // We try to keep the default values the same as the default values in 67 // We try to keep the default values the same as the default values in
67 // chrome, except for the cases where it would require lots of extra work for 68 // chrome, except for the cases where it would require lots of extra work for
68 // the embedder to use the same default value. 69 // the embedder to use the same default value.
69 WebPreferences() 70 WebPreferences()
70 : standard_font_family(L"Times New Roman"), 71 : standard_font_family(L"Times New Roman"),
(...skipping 22 matching lines...) Expand all
93 allow_scripts_to_close_windows(false), 94 allow_scripts_to_close_windows(false),
94 uses_page_cache(false), 95 uses_page_cache(false),
95 remote_fonts_enabled(true), 96 remote_fonts_enabled(true),
96 xss_auditor_enabled(false), 97 xss_auditor_enabled(false),
97 local_storage_enabled(false), 98 local_storage_enabled(false),
98 databases_enabled(false), 99 databases_enabled(false),
99 application_cache_enabled(false), 100 application_cache_enabled(false),
100 tabs_to_links(true), 101 tabs_to_links(true),
101 user_style_sheet_enabled(false), 102 user_style_sheet_enabled(false),
102 allow_universal_access_from_file_urls(false), 103 allow_universal_access_from_file_urls(false),
104 allow_file_access_from_file_urls(true),
103 experimental_webgl_enabled(false), 105 experimental_webgl_enabled(false),
104 geolocation_enabled(false) { 106 geolocation_enabled(false) {
105 } 107 }
106 108
107 void Apply(WebKit::WebView* web_view) const; 109 void Apply(WebKit::WebView* web_view) const;
108 }; 110 };
109 111
110 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 112 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698