| OLD | NEW |
| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 allow_scripts_to_close_windows(false), | 94 allow_scripts_to_close_windows(false), |
| 95 uses_page_cache(false), | 95 uses_page_cache(false), |
| 96 remote_fonts_enabled(true), | 96 remote_fonts_enabled(true), |
| 97 xss_auditor_enabled(false), | 97 xss_auditor_enabled(false), |
| 98 local_storage_enabled(false), | 98 local_storage_enabled(false), |
| 99 databases_enabled(false), | 99 databases_enabled(false), |
| 100 application_cache_enabled(false), | 100 application_cache_enabled(false), |
| 101 tabs_to_links(true), | 101 tabs_to_links(true), |
| 102 user_style_sheet_enabled(false), | 102 user_style_sheet_enabled(false), |
| 103 allow_universal_access_from_file_urls(false), | 103 allow_universal_access_from_file_urls(false), |
| 104 allow_file_access_from_file_urls(true), | 104 allow_file_access_from_file_urls(false), |
| 105 experimental_webgl_enabled(false), | 105 experimental_webgl_enabled(false), |
| 106 geolocation_enabled(false) { | 106 geolocation_enabled(false) { |
| 107 } | 107 } |
| 108 | 108 |
| 109 void Apply(WebKit::WebView* web_view) const; | 109 void Apply(WebKit::WebView* web_view) const; |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 112 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
| OLD | NEW |