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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
70 bool experimental_webgl_enabled; | 70 bool experimental_webgl_enabled; |
71 bool gl_multisampling_enabled; | 71 bool gl_multisampling_enabled; |
72 bool show_composited_layer_borders; | 72 bool show_composited_layer_borders; |
73 bool accelerated_compositing_enabled; | 73 bool accelerated_compositing_enabled; |
74 bool accelerated_layers_enabled; | 74 bool accelerated_layers_enabled; |
75 bool accelerated_video_enabled; | 75 bool accelerated_video_enabled; |
76 bool accelerated_2d_canvas_enabled; | 76 bool accelerated_2d_canvas_enabled; |
77 bool accelerated_plugins_enabled; | 77 bool accelerated_plugins_enabled; |
78 bool memory_info_enabled; | 78 bool memory_info_enabled; |
79 bool interactive_form_validation_enabled; | 79 bool interactive_form_validation_enabled; |
80 double minimum_timer_interval; | |
darin (slow to review)
2011/02/17 06:42:32
I don't see this field ever being used. Since we
Ken Russell (switch to Gerrit)
2011/02/18 01:05:54
That sounds good and will address jamesr's concern
| |
80 | 81 |
81 // We try to keep the default values the same as the default values in | 82 // We try to keep the default values the same as the default values in |
82 // chrome, except for the cases where it would require lots of extra work for | 83 // chrome, except for the cases where it would require lots of extra work for |
83 // the embedder to use the same default value. | 84 // the embedder to use the same default value. |
84 WebPreferences(); | 85 WebPreferences(); |
85 ~WebPreferences(); | 86 ~WebPreferences(); |
86 | 87 |
87 void Apply(WebKit::WebView* web_view) const; | 88 void Apply(WebKit::WebView* web_view) const; |
88 }; | 89 }; |
89 | 90 |
90 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 91 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |