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, content/common/view_messages.h, 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 |
11 #ifndef WEBKIT_GLUE_WEBPREFERENCES_H__ | 11 #ifndef WEBKIT_GLUE_WEBPREFERENCES_H__ |
12 #define WEBKIT_GLUE_WEBPREFERENCES_H__ | 12 #define WEBKIT_GLUE_WEBPREFERENCES_H__ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/string16.h" | 18 #include "base/string16.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 bool hixie76_websocket_protocol_enabled; | 121 bool hixie76_websocket_protocol_enabled; |
122 bool visual_word_movement_enabled; | 122 bool visual_word_movement_enabled; |
123 bool per_tile_painting_enabled; | 123 bool per_tile_painting_enabled; |
124 bool css_regions_enabled; | 124 bool css_regions_enabled; |
125 bool css_shaders_enabled; | 125 bool css_shaders_enabled; |
126 int default_tile_width; | 126 int default_tile_width; |
127 int default_tile_height; | 127 int default_tile_height; |
128 int max_untiled_layer_width; | 128 int max_untiled_layer_width; |
129 int max_untiled_layer_height; | 129 int max_untiled_layer_height; |
130 bool fixed_position_creates_stacking_context; | 130 bool fixed_position_creates_stacking_context; |
| 131 bool sync_xhr_in_documents_enabled; |
131 | 132 |
132 // We try to keep the default values the same as the default values in | 133 // We try to keep the default values the same as the default values in |
133 // chrome, except for the cases where it would require lots of extra work for | 134 // chrome, except for the cases where it would require lots of extra work for |
134 // the embedder to use the same default value. | 135 // the embedder to use the same default value. |
135 WebPreferences(); | 136 WebPreferences(); |
136 ~WebPreferences(); | 137 ~WebPreferences(); |
137 | 138 |
138 void Apply(WebKit::WebView* web_view) const; | 139 void Apply(WebKit::WebView* web_view) const; |
139 }; | 140 }; |
140 | 141 |
141 } // namespace webkit_glue | 142 } // namespace webkit_glue |
142 | 143 |
143 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 144 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |