| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool allow_file_access_from_file_urls; | 72 bool allow_file_access_from_file_urls; |
| 73 bool webaudio_enabled; | 73 bool webaudio_enabled; |
| 74 bool experimental_webgl_enabled; | 74 bool experimental_webgl_enabled; |
| 75 bool gl_multisampling_enabled; | 75 bool gl_multisampling_enabled; |
| 76 bool show_composited_layer_borders; | 76 bool show_composited_layer_borders; |
| 77 bool show_composited_layer_tree; | 77 bool show_composited_layer_tree; |
| 78 bool show_fps_counter; | 78 bool show_fps_counter; |
| 79 bool asynchronous_spell_checking_enabled; | 79 bool asynchronous_spell_checking_enabled; |
| 80 bool accelerated_compositing_enabled; | 80 bool accelerated_compositing_enabled; |
| 81 bool force_compositing_mode; | 81 bool force_compositing_mode; |
| 82 bool allow_webui_compositing; |
| 82 bool composite_to_texture_enabled; | 83 bool composite_to_texture_enabled; |
| 83 bool accelerated_layers_enabled; | 84 bool accelerated_layers_enabled; |
| 84 bool accelerated_video_enabled; | 85 bool accelerated_video_enabled; |
| 85 bool accelerated_2d_canvas_enabled; | 86 bool accelerated_2d_canvas_enabled; |
| 86 bool accelerated_drawing_enabled; | 87 bool accelerated_drawing_enabled; |
| 87 bool accelerated_plugins_enabled; | 88 bool accelerated_plugins_enabled; |
| 88 bool memory_info_enabled; | 89 bool memory_info_enabled; |
| 89 bool interactive_form_validation_enabled; | 90 bool interactive_form_validation_enabled; |
| 90 bool fullscreen_enabled; | 91 bool fullscreen_enabled; |
| 91 bool allow_displaying_insecure_content; | 92 bool allow_displaying_insecure_content; |
| 92 bool allow_running_insecure_content; | 93 bool allow_running_insecure_content; |
| 93 bool should_print_backgrounds; | 94 bool should_print_backgrounds; |
| 94 bool enable_scroll_animator; | 95 bool enable_scroll_animator; |
| 95 bool hixie76_websocket_protocol_enabled; | 96 bool hixie76_websocket_protocol_enabled; |
| 96 // We try to keep the default values the same as the default values in | 97 // We try to keep the default values the same as the default values in |
| 97 // chrome, except for the cases where it would require lots of extra work for | 98 // chrome, except for the cases where it would require lots of extra work for |
| 98 // the embedder to use the same default value. | 99 // the embedder to use the same default value. |
| 99 WebPreferences(); | 100 WebPreferences(); |
| 100 ~WebPreferences(); | 101 ~WebPreferences(); |
| 101 | 102 |
| 102 void Apply(WebKit::WebView* web_view) const; | 103 void Apply(WebKit::WebView* web_view) const; |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 106 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
| OLD | NEW |