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, content/common/view_messages.h, 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 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 bool user_style_sheet_enabled; | 94 bool user_style_sheet_enabled; |
95 GURL user_style_sheet_location; | 95 GURL user_style_sheet_location; |
96 bool author_and_user_styles_enabled; | 96 bool author_and_user_styles_enabled; |
97 bool frame_flattening_enabled; | 97 bool frame_flattening_enabled; |
98 bool allow_universal_access_from_file_urls; | 98 bool allow_universal_access_from_file_urls; |
99 bool allow_file_access_from_file_urls; | 99 bool allow_file_access_from_file_urls; |
100 bool webaudio_enabled; | 100 bool webaudio_enabled; |
101 bool experimental_webgl_enabled; | 101 bool experimental_webgl_enabled; |
102 bool flash_3d_enabled; | 102 bool flash_3d_enabled; |
103 bool flash_stage3d_enabled; | 103 bool flash_stage3d_enabled; |
| 104 bool flash_stage3d_baseline_enabled; |
104 bool gl_multisampling_enabled; | 105 bool gl_multisampling_enabled; |
105 bool privileged_webgl_extensions_enabled; | 106 bool privileged_webgl_extensions_enabled; |
106 bool webgl_errors_to_console_enabled; | 107 bool webgl_errors_to_console_enabled; |
107 bool show_composited_layer_borders; | 108 bool show_composited_layer_borders; |
108 bool show_composited_layer_tree; | 109 bool show_composited_layer_tree; |
109 bool show_fps_counter; | 110 bool show_fps_counter; |
110 bool accelerated_compositing_for_overflow_scroll_enabled; | 111 bool accelerated_compositing_for_overflow_scroll_enabled; |
111 bool accelerated_compositing_for_scrollable_frames_enabled; | 112 bool accelerated_compositing_for_scrollable_frames_enabled; |
112 bool composited_scrolling_for_frames_enabled; | 113 bool composited_scrolling_for_frames_enabled; |
113 bool mock_scrollbars_enabled; | 114 bool mock_scrollbars_enabled; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // the embedder to use the same default value. | 177 // the embedder to use the same default value. |
177 WebPreferences(); | 178 WebPreferences(); |
178 ~WebPreferences(); | 179 ~WebPreferences(); |
179 | 180 |
180 void Apply(WebKit::WebView* web_view) const; | 181 void Apply(WebKit::WebView* web_view) const; |
181 }; | 182 }; |
182 | 183 |
183 } // namespace webkit_glue | 184 } // namespace webkit_glue |
184 | 185 |
185 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 186 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |