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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 bool is_online; | 76 bool is_online; |
77 bool user_style_sheet_enabled; | 77 bool user_style_sheet_enabled; |
78 GURL user_style_sheet_location; | 78 GURL user_style_sheet_location; |
79 bool author_and_user_styles_enabled; | 79 bool author_and_user_styles_enabled; |
80 bool frame_flattening_enabled; | 80 bool frame_flattening_enabled; |
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 show_composited_layer_borders; | 87 bool show_composited_layer_borders; |
87 bool show_composited_layer_tree; | 88 bool show_composited_layer_tree; |
88 bool show_fps_counter; | 89 bool show_fps_counter; |
89 bool asynchronous_spell_checking_enabled; | 90 bool asynchronous_spell_checking_enabled; |
90 bool accelerated_compositing_enabled; | 91 bool accelerated_compositing_enabled; |
91 bool threaded_compositing_enabled; | 92 bool threaded_compositing_enabled; |
92 bool force_compositing_mode; | 93 bool force_compositing_mode; |
93 bool allow_webui_compositing; | 94 bool allow_webui_compositing; |
94 bool composite_to_texture_enabled; | 95 bool composite_to_texture_enabled; |
95 bool accelerated_layers_enabled; | 96 bool accelerated_layers_enabled; |
(...skipping 12 matching lines...) Expand all Loading... |
108 // We try to keep the default values the same as the default values in | 109 // We try to keep the default values the same as the default values in |
109 // chrome, except for the cases where it would require lots of extra work for | 110 // chrome, except for the cases where it would require lots of extra work for |
110 // the embedder to use the same default value. | 111 // the embedder to use the same default value. |
111 WebPreferences(); | 112 WebPreferences(); |
112 ~WebPreferences(); | 113 ~WebPreferences(); |
113 | 114 |
114 void Apply(WebKit::WebView* web_view) const; | 115 void Apply(WebKit::WebView* web_view) const; |
115 }; | 116 }; |
116 | 117 |
117 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 118 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |