Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: webkit/common/webpreferences.h

Issue 64843004: Get rid of user-level styles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to ToT Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/common/webkit_test_helpers.cc ('k') | webkit/common/webpreferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // blink::WebSettings, content/common/view_messages.h, browser/tab_contents/ 8 // blink::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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // we disable the feature at a lower layer so that we catch non-WebKit uses 84 // we disable the feature at a lower layer so that we catch non-WebKit uses
85 // of DNS prefetch as well. 85 // of DNS prefetch as well.
86 bool dns_prefetching_enabled; 86 bool dns_prefetching_enabled;
87 bool local_storage_enabled; 87 bool local_storage_enabled;
88 bool databases_enabled; 88 bool databases_enabled;
89 bool application_cache_enabled; 89 bool application_cache_enabled;
90 bool tabs_to_links; 90 bool tabs_to_links;
91 bool caret_browsing_enabled; 91 bool caret_browsing_enabled;
92 bool hyperlink_auditing_enabled; 92 bool hyperlink_auditing_enabled;
93 bool is_online; 93 bool is_online;
94 bool user_style_sheet_enabled;
95 GURL user_style_sheet_location;
96 bool allow_universal_access_from_file_urls; 94 bool allow_universal_access_from_file_urls;
97 bool allow_file_access_from_file_urls; 95 bool allow_file_access_from_file_urls;
98 bool webaudio_enabled; 96 bool webaudio_enabled;
99 bool experimental_webgl_enabled; 97 bool experimental_webgl_enabled;
100 bool flash_3d_enabled; 98 bool flash_3d_enabled;
101 bool flash_stage3d_enabled; 99 bool flash_stage3d_enabled;
102 bool flash_stage3d_baseline_enabled; 100 bool flash_stage3d_baseline_enabled;
103 bool gl_multisampling_enabled; 101 bool gl_multisampling_enabled;
104 bool privileged_webgl_extensions_enabled; 102 bool privileged_webgl_extensions_enabled;
105 bool webgl_errors_to_console_enabled; 103 bool webgl_errors_to_console_enabled;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 #endif 183 #endif
186 184
187 // We try to keep the default values the same as the default values in 185 // We try to keep the default values the same as the default values in
188 // chrome, except for the cases where it would require lots of extra work for 186 // chrome, except for the cases where it would require lots of extra work for
189 // the embedder to use the same default value. 187 // the embedder to use the same default value.
190 WebPreferences(); 188 WebPreferences();
191 ~WebPreferences(); 189 ~WebPreferences();
192 }; 190 };
193 191
194 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__ 192 #endif // WEBKIT_COMMON_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/shell/common/webkit_test_helpers.cc ('k') | webkit/common/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698