OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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.h, and | 8 // WebKit::WebSettings, common/render_messages.cc, browser/tab_contents/ |
9 // browser/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 <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/string16.h" | 17 #include "base/string16.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 | 19 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 bool allow_universal_access_from_file_urls; | 67 bool allow_universal_access_from_file_urls; |
68 bool allow_file_access_from_file_urls; | 68 bool allow_file_access_from_file_urls; |
69 bool experimental_webgl_enabled; | 69 bool experimental_webgl_enabled; |
70 bool show_composited_layer_borders; | 70 bool show_composited_layer_borders; |
71 bool accelerated_compositing_enabled; | 71 bool accelerated_compositing_enabled; |
72 bool accelerated_layers_enabled; | 72 bool accelerated_layers_enabled; |
73 bool accelerated_video_enabled; | 73 bool accelerated_video_enabled; |
74 bool accelerated_2d_canvas_enabled; | 74 bool accelerated_2d_canvas_enabled; |
75 bool accelerated_plugins_enabled; | 75 bool accelerated_plugins_enabled; |
76 bool memory_info_enabled; | 76 bool memory_info_enabled; |
| 77 bool interactive_form_validation_enabled; |
77 | 78 |
78 // We try to keep the default values the same as the default values in | 79 // We try to keep the default values the same as the default values in |
79 // chrome, except for the cases where it would require lots of extra work for | 80 // chrome, except for the cases where it would require lots of extra work for |
80 // the embedder to use the same default value. | 81 // the embedder to use the same default value. |
81 WebPreferences(); | 82 WebPreferences(); |
82 ~WebPreferences(); | 83 ~WebPreferences(); |
83 | 84 |
84 void Apply(WebKit::WebView* web_view) const; | 85 void Apply(WebKit::WebView* web_view) const; |
85 }; | 86 }; |
86 | 87 |
87 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 88 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |