OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 show_composited_layer_borders; | 72 bool show_composited_layer_borders; |
73 bool asynchronous_spell_checking_enabled; | 73 bool asynchronous_spell_checking_enabled; |
74 bool accelerated_compositing_enabled; | 74 bool accelerated_compositing_enabled; |
75 bool composite_to_texture_enabled; | 75 bool composite_to_texture_enabled; |
76 bool accelerated_layers_enabled; | 76 bool accelerated_layers_enabled; |
77 bool accelerated_video_enabled; | 77 bool accelerated_video_enabled; |
78 bool accelerated_2d_canvas_enabled; | 78 bool accelerated_2d_canvas_enabled; |
79 bool accelerated_plugins_enabled; | 79 bool accelerated_plugins_enabled; |
80 bool memory_info_enabled; | 80 bool memory_info_enabled; |
81 bool interactive_form_validation_enabled; | 81 bool interactive_form_validation_enabled; |
82 bool fullscreen_enabled; | |
83 | 82 |
84 // We try to keep the default values the same as the default values in | 83 // We try to keep the default values the same as the default values in |
85 // chrome, except for the cases where it would require lots of extra work for | 84 // chrome, except for the cases where it would require lots of extra work for |
86 // the embedder to use the same default value. | 85 // the embedder to use the same default value. |
87 WebPreferences(); | 86 WebPreferences(); |
88 ~WebPreferences(); | 87 ~WebPreferences(); |
89 | 88 |
90 void Apply(WebKit::WebView* web_view) const; | 89 void Apply(WebKit::WebView* web_view) const; |
91 }; | 90 }; |
92 | 91 |
93 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 92 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |