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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool accelerated_plugins_enabled; | 103 bool accelerated_plugins_enabled; |
104 bool memory_info_enabled; | 104 bool memory_info_enabled; |
105 bool interactive_form_validation_enabled; | 105 bool interactive_form_validation_enabled; |
106 bool fullscreen_enabled; | 106 bool fullscreen_enabled; |
107 bool allow_displaying_insecure_content; | 107 bool allow_displaying_insecure_content; |
108 bool allow_running_insecure_content; | 108 bool allow_running_insecure_content; |
109 bool should_print_backgrounds; | 109 bool should_print_backgrounds; |
110 bool enable_scroll_animator; | 110 bool enable_scroll_animator; |
111 bool hixie76_websocket_protocol_enabled; | 111 bool hixie76_websocket_protocol_enabled; |
112 bool visual_word_movement_enabled; | 112 bool visual_word_movement_enabled; |
| 113 bool per_tile_drawing_enabled; |
113 // We try to keep the default values the same as the default values in | 114 // We try to keep the default values the same as the default values in |
114 // chrome, except for the cases where it would require lots of extra work for | 115 // chrome, except for the cases where it would require lots of extra work for |
115 // the embedder to use the same default value. | 116 // the embedder to use the same default value. |
116 WebPreferences(); | 117 WebPreferences(); |
117 ~WebPreferences(); | 118 ~WebPreferences(); |
118 | 119 |
119 void Apply(WebKit::WebView* web_view) const; | 120 void Apply(WebKit::WebView* web_view) const; |
120 }; | 121 }; |
121 | 122 |
122 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 123 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |