| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.cc, browser/tab_contents/ | 8 // WebKit::WebSettings, common/render_messages.cc, 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 allow_universal_access_from_file_urls; | 81 bool allow_universal_access_from_file_urls; |
| 82 bool allow_file_access_from_file_urls; | 82 bool allow_file_access_from_file_urls; |
| 83 bool webaudio_enabled; | 83 bool webaudio_enabled; |
| 84 bool experimental_webgl_enabled; | 84 bool experimental_webgl_enabled; |
| 85 bool gl_multisampling_enabled; | 85 bool gl_multisampling_enabled; |
| 86 bool show_composited_layer_borders; | 86 bool show_composited_layer_borders; |
| 87 bool show_composited_layer_tree; | 87 bool show_composited_layer_tree; |
| 88 bool show_fps_counter; | 88 bool show_fps_counter; |
| 89 bool asynchronous_spell_checking_enabled; | 89 bool asynchronous_spell_checking_enabled; |
| 90 bool accelerated_compositing_enabled; | 90 bool accelerated_compositing_enabled; |
| 91 bool threaded_compositing_enabled; |
| 91 bool force_compositing_mode; | 92 bool force_compositing_mode; |
| 92 bool allow_webui_compositing; | 93 bool allow_webui_compositing; |
| 93 bool composite_to_texture_enabled; | 94 bool composite_to_texture_enabled; |
| 94 bool accelerated_layers_enabled; | 95 bool accelerated_layers_enabled; |
| 95 bool accelerated_video_enabled; | 96 bool accelerated_video_enabled; |
| 96 bool accelerated_2d_canvas_enabled; | 97 bool accelerated_2d_canvas_enabled; |
| 97 bool accelerated_drawing_enabled; | 98 bool accelerated_drawing_enabled; |
| 98 bool accelerated_plugins_enabled; | 99 bool accelerated_plugins_enabled; |
| 99 bool memory_info_enabled; | 100 bool memory_info_enabled; |
| 100 bool interactive_form_validation_enabled; | 101 bool interactive_form_validation_enabled; |
| 101 bool fullscreen_enabled; | 102 bool fullscreen_enabled; |
| 102 bool allow_displaying_insecure_content; | 103 bool allow_displaying_insecure_content; |
| 103 bool allow_running_insecure_content; | 104 bool allow_running_insecure_content; |
| 104 bool should_print_backgrounds; | 105 bool should_print_backgrounds; |
| 105 bool enable_scroll_animator; | 106 bool enable_scroll_animator; |
| 106 bool hixie76_websocket_protocol_enabled; | 107 bool hixie76_websocket_protocol_enabled; |
| 107 // We try to keep the default values the same as the default values in | 108 // We try to keep the default values the same as the default values in |
| 108 // chrome, except for the cases where it would require lots of extra work for | 109 // chrome, except for the cases where it would require lots of extra work for |
| 109 // the embedder to use the same default value. | 110 // the embedder to use the same default value. |
| 110 WebPreferences(); | 111 WebPreferences(); |
| 111 ~WebPreferences(); | 112 ~WebPreferences(); |
| 112 | 113 |
| 113 void Apply(WebKit::WebView* web_view) const; | 114 void Apply(WebKit::WebView* web_view) const; |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 117 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
| OLD | NEW |