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

Side by Side Diff: content/public/common/web_preferences.cc

Issue 449393002: Stop using the needsSiteSpecificQuirks setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/public/common/web_preferences.h" 5 #include "content/public/common/web_preferences.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 minimum_font_size(0), 46 minimum_font_size(0),
47 minimum_logical_font_size(6), 47 minimum_logical_font_size(6),
48 default_encoding("ISO-8859-1"), 48 default_encoding("ISO-8859-1"),
49 javascript_enabled(true), 49 javascript_enabled(true),
50 web_security_enabled(true), 50 web_security_enabled(true),
51 javascript_can_open_windows_automatically(true), 51 javascript_can_open_windows_automatically(true),
52 loads_images_automatically(true), 52 loads_images_automatically(true),
53 images_enabled(true), 53 images_enabled(true),
54 plugins_enabled(true), 54 plugins_enabled(true),
55 dom_paste_enabled(false), // enables execCommand("paste") 55 dom_paste_enabled(false), // enables execCommand("paste")
56 site_specific_quirks_enabled(false),
57 shrinks_standalone_images_to_fit(true), 56 shrinks_standalone_images_to_fit(true),
58 uses_universal_detector(false), // Disabled: page cycler regression 57 uses_universal_detector(false), // Disabled: page cycler regression
59 text_areas_are_resizable(true), 58 text_areas_are_resizable(true),
60 java_enabled(true), 59 java_enabled(true),
61 allow_scripts_to_close_windows(false), 60 allow_scripts_to_close_windows(false),
62 remote_fonts_enabled(true), 61 remote_fonts_enabled(true),
63 javascript_can_access_clipboard(false), 62 javascript_can_access_clipboard(false),
64 xslt_enabled(true), 63 xslt_enabled(true),
65 xss_auditor_enabled(true), 64 xss_auditor_enabled(true),
66 dns_prefetching_enabled(true), 65 dns_prefetching_enabled(true),
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 171 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
173 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 172 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
174 pictograph_font_family_map[kCommonScript] = 173 pictograph_font_family_map[kCommonScript] =
175 base::ASCIIToUTF16("Times New Roman"); 174 base::ASCIIToUTF16("Times New Roman");
176 } 175 }
177 176
178 WebPreferences::~WebPreferences() { 177 WebPreferences::~WebPreferences() {
179 } 178 }
180 179
181 } // namespace content 180 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698