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