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 privileged_webgl_extensions_enabled; | 86 bool privileged_webgl_extensions_enabled; |
87 bool show_composited_layer_borders; | 87 bool show_composited_layer_borders; |
88 bool show_composited_layer_tree; | 88 bool show_composited_layer_tree; |
89 bool show_fps_counter; | 89 bool show_fps_counter; |
90 bool asynchronous_spell_checking_enabled; | 90 bool asynchronous_spell_checking_enabled; |
| 91 bool unified_textchecker_enabled; |
91 bool accelerated_compositing_enabled; | 92 bool accelerated_compositing_enabled; |
92 bool threaded_compositing_enabled; | 93 bool threaded_compositing_enabled; |
93 bool force_compositing_mode; | 94 bool force_compositing_mode; |
94 bool allow_webui_compositing; | 95 bool allow_webui_compositing; |
95 bool composite_to_texture_enabled; | 96 bool composite_to_texture_enabled; |
96 bool fixed_position_compositing_enabled; | 97 bool fixed_position_compositing_enabled; |
97 bool accelerated_layers_enabled; | 98 bool accelerated_layers_enabled; |
98 bool accelerated_video_enabled; | 99 bool accelerated_video_enabled; |
99 bool accelerated_2d_canvas_enabled; | 100 bool accelerated_2d_canvas_enabled; |
100 bool accelerated_drawing_enabled; | 101 bool accelerated_drawing_enabled; |
(...skipping 10 matching lines...) Expand all Loading... |
111 // We try to keep the default values the same as the default values in | 112 // We try to keep the default values the same as the default values in |
112 // chrome, except for the cases where it would require lots of extra work for | 113 // chrome, except for the cases where it would require lots of extra work for |
113 // the embedder to use the same default value. | 114 // the embedder to use the same default value. |
114 WebPreferences(); | 115 WebPreferences(); |
115 ~WebPreferences(); | 116 ~WebPreferences(); |
116 | 117 |
117 void Apply(WebKit::WebView* web_view) const; | 118 void Apply(WebKit::WebView* web_view) const; |
118 }; | 119 }; |
119 | 120 |
120 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 121 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |