OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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, content/common/view_messages.h, browser/tab_contents/ | 8 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ |
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. | 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 bool local_storage_enabled; | 84 bool local_storage_enabled; |
85 bool databases_enabled; | 85 bool databases_enabled; |
86 bool application_cache_enabled; | 86 bool application_cache_enabled; |
87 bool tabs_to_links; | 87 bool tabs_to_links; |
88 bool caret_browsing_enabled; | 88 bool caret_browsing_enabled; |
89 bool hyperlink_auditing_enabled; | 89 bool hyperlink_auditing_enabled; |
90 bool is_online; | 90 bool is_online; |
91 bool user_style_sheet_enabled; | 91 bool user_style_sheet_enabled; |
92 GURL user_style_sheet_location; | 92 GURL user_style_sheet_location; |
93 bool author_and_user_styles_enabled; | 93 bool author_and_user_styles_enabled; |
94 bool frame_flattening_enabled; | |
95 bool allow_universal_access_from_file_urls; | 94 bool allow_universal_access_from_file_urls; |
96 bool allow_file_access_from_file_urls; | 95 bool allow_file_access_from_file_urls; |
97 bool webaudio_enabled; | 96 bool webaudio_enabled; |
98 bool experimental_webgl_enabled; | 97 bool experimental_webgl_enabled; |
99 bool flash_3d_enabled; | 98 bool flash_3d_enabled; |
100 bool flash_stage3d_enabled; | 99 bool flash_stage3d_enabled; |
101 bool flash_stage3d_baseline_enabled; | 100 bool flash_stage3d_baseline_enabled; |
102 bool gl_multisampling_enabled; | 101 bool gl_multisampling_enabled; |
103 bool privileged_webgl_extensions_enabled; | 102 bool privileged_webgl_extensions_enabled; |
104 bool webgl_errors_to_console_enabled; | 103 bool webgl_errors_to_console_enabled; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 // the embedder to use the same default value. | 170 // the embedder to use the same default value. |
172 WebPreferences(); | 171 WebPreferences(); |
173 ~WebPreferences(); | 172 ~WebPreferences(); |
174 | 173 |
175 void Apply(WebKit::WebView* web_view) const; | 174 void Apply(WebKit::WebView* web_view) const; |
176 }; | 175 }; |
177 | 176 |
178 } // namespace webkit_glue | 177 } // namespace webkit_glue |
179 | 178 |
180 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 179 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |