| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 bool hyperlink_auditing_enabled; | 81 bool hyperlink_auditing_enabled; |
| 82 bool is_online; | 82 bool is_online; |
| 83 bool user_style_sheet_enabled; | 83 bool user_style_sheet_enabled; |
| 84 GURL user_style_sheet_location; | 84 GURL user_style_sheet_location; |
| 85 bool author_and_user_styles_enabled; | 85 bool author_and_user_styles_enabled; |
| 86 bool frame_flattening_enabled; | 86 bool frame_flattening_enabled; |
| 87 bool allow_universal_access_from_file_urls; | 87 bool allow_universal_access_from_file_urls; |
| 88 bool allow_file_access_from_file_urls; | 88 bool allow_file_access_from_file_urls; |
| 89 bool webaudio_enabled; | 89 bool webaudio_enabled; |
| 90 bool experimental_webgl_enabled; | 90 bool experimental_webgl_enabled; |
| 91 bool flash_3d_enabled; |
| 92 bool flash_stage3d_enabled; |
| 91 bool gl_multisampling_enabled; | 93 bool gl_multisampling_enabled; |
| 92 bool privileged_webgl_extensions_enabled; | 94 bool privileged_webgl_extensions_enabled; |
| 93 bool webgl_errors_to_console_enabled; | 95 bool webgl_errors_to_console_enabled; |
| 94 bool show_composited_layer_borders; | 96 bool show_composited_layer_borders; |
| 95 bool show_composited_layer_tree; | 97 bool show_composited_layer_tree; |
| 96 bool show_fps_counter; | 98 bool show_fps_counter; |
| 97 bool show_paint_rects; | 99 bool show_paint_rects; |
| 98 bool asynchronous_spell_checking_enabled; | 100 bool asynchronous_spell_checking_enabled; |
| 99 bool unified_textchecker_enabled; | 101 bool unified_textchecker_enabled; |
| 100 bool threaded_animation_enabled; | 102 bool threaded_animation_enabled; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // the embedder to use the same default value. | 138 // the embedder to use the same default value. |
| 137 WebPreferences(); | 139 WebPreferences(); |
| 138 ~WebPreferences(); | 140 ~WebPreferences(); |
| 139 | 141 |
| 140 void Apply(WebKit::WebView* web_view) const; | 142 void Apply(WebKit::WebView* web_view) const; |
| 141 }; | 143 }; |
| 142 | 144 |
| 143 } // namespace webkit_glue | 145 } // namespace webkit_glue |
| 144 | 146 |
| 145 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 147 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
| OLD | NEW |