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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 loads_images_automatically(true), | 81 loads_images_automatically(true), |
82 plugins_enabled(true), | 82 plugins_enabled(true), |
83 dom_paste_enabled(false), // enables execCommand("paste") | 83 dom_paste_enabled(false), // enables execCommand("paste") |
84 developer_extras_enabled(false), // Requires extra work by embedder | 84 developer_extras_enabled(false), // Requires extra work by embedder |
85 shrinks_standalone_images_to_fit(true), | 85 shrinks_standalone_images_to_fit(true), |
86 uses_universal_detector(false), // Disabled: page cycler regression | 86 uses_universal_detector(false), // Disabled: page cycler regression |
87 text_areas_are_resizable(true), | 87 text_areas_are_resizable(true), |
88 java_enabled(true), | 88 java_enabled(true), |
89 allow_scripts_to_close_windows(false), | 89 allow_scripts_to_close_windows(false), |
90 uses_page_cache(false), | 90 uses_page_cache(false), |
91 remote_fonts_enabled(false), | 91 remote_fonts_enabled(true), |
92 xss_auditor_enabled(false), | 92 xss_auditor_enabled(false), |
93 local_storage_enabled(false), | 93 local_storage_enabled(false), |
94 databases_enabled(false), | 94 databases_enabled(false), |
95 application_cache_enabled(false), | 95 application_cache_enabled(false), |
96 tabs_to_links(true), | 96 tabs_to_links(true), |
97 user_style_sheet_enabled(false), | 97 user_style_sheet_enabled(false), |
98 allow_universal_access_from_file_urls(false), | 98 allow_universal_access_from_file_urls(false), |
99 experimental_webgl_enabled(false) { | 99 experimental_webgl_enabled(false) { |
100 } | 100 } |
101 | 101 |
102 void Apply(WebKit::WebView* web_view) const; | 102 void Apply(WebKit::WebView* web_view) const; |
103 }; | 103 }; |
104 | 104 |
105 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 105 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |