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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 should_print_backgrounds; | 93 bool should_print_backgrounds; |
| 94 bool enable_scroll_animator; |
94 | 95 |
95 // We try to keep the default values the same as the default values in | 96 // We try to keep the default values the same as the default values in |
96 // chrome, except for the cases where it would require lots of extra work for | 97 // chrome, except for the cases where it would require lots of extra work for |
97 // the embedder to use the same default value. | 98 // the embedder to use the same default value. |
98 WebPreferences(); | 99 WebPreferences(); |
99 ~WebPreferences(); | 100 ~WebPreferences(); |
100 | 101 |
101 void Apply(WebKit::WebView* web_view) const; | 102 void Apply(WebKit::WebView* web_view) const; |
102 }; | 103 }; |
103 | 104 |
104 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 105 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |