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

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

Issue 7021008: Re-enable DNS prefetch. This feature got disable accidentially in WebKit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months 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/common/view_messages.h ('k') | webkit/glue/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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool site_specific_quirks_enabled; 46 bool site_specific_quirks_enabled;
47 bool shrinks_standalone_images_to_fit; 47 bool shrinks_standalone_images_to_fit;
48 bool uses_universal_detector; 48 bool uses_universal_detector;
49 bool text_areas_are_resizable; 49 bool text_areas_are_resizable;
50 bool java_enabled; 50 bool java_enabled;
51 bool allow_scripts_to_close_windows; 51 bool allow_scripts_to_close_windows;
52 bool uses_page_cache; 52 bool uses_page_cache;
53 bool remote_fonts_enabled; 53 bool remote_fonts_enabled;
54 bool javascript_can_access_clipboard; 54 bool javascript_can_access_clipboard;
55 bool xss_auditor_enabled; 55 bool xss_auditor_enabled;
56 // We don't use dns_prefetching_enabled to disable DNS prefetching. Instead,
57 // we disable the feature at a lower layer so that we catch non-WebKit uses
58 // of DNS prefetch as well.
59 bool dns_prefetching_enabled;
56 bool local_storage_enabled; 60 bool local_storage_enabled;
57 bool databases_enabled; 61 bool databases_enabled;
58 bool application_cache_enabled; 62 bool application_cache_enabled;
59 bool tabs_to_links; 63 bool tabs_to_links;
60 bool caret_browsing_enabled; 64 bool caret_browsing_enabled;
61 bool hyperlink_auditing_enabled; 65 bool hyperlink_auditing_enabled;
62 66
63 bool user_style_sheet_enabled; 67 bool user_style_sheet_enabled;
64 GURL user_style_sheet_location; 68 GURL user_style_sheet_location;
65 bool author_and_user_styles_enabled; 69 bool author_and_user_styles_enabled;
(...skipping 24 matching lines...) Expand all
90 // We try to keep the default values the same as the default values in 94 // We try to keep the default values the same as the default values in
91 // chrome, except for the cases where it would require lots of extra work for 95 // chrome, except for the cases where it would require lots of extra work for
92 // the embedder to use the same default value. 96 // the embedder to use the same default value.
93 WebPreferences(); 97 WebPreferences();
94 ~WebPreferences(); 98 ~WebPreferences();
95 99
96 void Apply(WebKit::WebView* web_view) const; 100 void Apply(WebKit::WebView* web_view) const;
97 }; 101 };
98 102
99 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 103 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698