OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool fullscreen_enabled; | 112 bool fullscreen_enabled; |
113 bool allow_displaying_insecure_content; | 113 bool allow_displaying_insecure_content; |
114 bool allow_running_insecure_content; | 114 bool allow_running_insecure_content; |
115 bool password_echo_enabled; | 115 bool password_echo_enabled; |
116 bool should_print_backgrounds; | 116 bool should_print_backgrounds; |
117 bool enable_scroll_animator; | 117 bool enable_scroll_animator; |
118 bool hixie76_websocket_protocol_enabled; | 118 bool hixie76_websocket_protocol_enabled; |
119 bool visual_word_movement_enabled; | 119 bool visual_word_movement_enabled; |
120 bool per_tile_painting_enabled; | 120 bool per_tile_painting_enabled; |
121 bool css_regions_enabled; | 121 bool css_regions_enabled; |
| 122 bool css_shaders_enabled; |
122 // We try to keep the default values the same as the default values in | 123 // We try to keep the default values the same as the default values in |
123 // chrome, except for the cases where it would require lots of extra work for | 124 // chrome, except for the cases where it would require lots of extra work for |
124 // the embedder to use the same default value. | 125 // the embedder to use the same default value. |
125 WebPreferences(); | 126 WebPreferences(); |
126 ~WebPreferences(); | 127 ~WebPreferences(); |
127 | 128 |
128 void Apply(WebKit::WebView* web_view) const; | 129 void Apply(WebKit::WebView* web_view) const; |
129 }; | 130 }; |
130 | 131 |
131 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 132 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |