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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 bool accelerated_layers_enabled; | 83 bool accelerated_layers_enabled; |
84 bool accelerated_video_enabled; | 84 bool accelerated_video_enabled; |
85 bool accelerated_2d_canvas_enabled; | 85 bool accelerated_2d_canvas_enabled; |
86 bool accelerated_drawing_enabled; | 86 bool accelerated_drawing_enabled; |
87 bool accelerated_plugins_enabled; | 87 bool accelerated_plugins_enabled; |
88 bool memory_info_enabled; | 88 bool memory_info_enabled; |
89 bool interactive_form_validation_enabled; | 89 bool interactive_form_validation_enabled; |
90 bool fullscreen_enabled; | 90 bool fullscreen_enabled; |
91 bool allow_displaying_insecure_content; | 91 bool allow_displaying_insecure_content; |
92 bool allow_running_insecure_content; | 92 bool allow_running_insecure_content; |
| 93 bool enable_scroll_animator; |
93 | 94 |
94 // We try to keep the default values the same as the default values in | 95 // We try to keep the default values the same as the default values in |
95 // chrome, except for the cases where it would require lots of extra work for | 96 // chrome, except for the cases where it would require lots of extra work for |
96 // the embedder to use the same default value. | 97 // the embedder to use the same default value. |
97 WebPreferences(); | 98 WebPreferences(); |
98 ~WebPreferences(); | 99 ~WebPreferences(); |
99 | 100 |
100 void Apply(WebKit::WebView* web_view) const; | 101 void Apply(WebKit::WebView* web_view) const; |
101 }; | 102 }; |
102 | 103 |
103 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 104 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |