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

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

Issue 1313243002: Remove command line flags and prefs for disabling Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 javascript_enabled(true), 77 javascript_enabled(true),
78 web_security_enabled(true), 78 web_security_enabled(true),
79 javascript_can_open_windows_automatically(true), 79 javascript_can_open_windows_automatically(true),
80 loads_images_automatically(true), 80 loads_images_automatically(true),
81 images_enabled(true), 81 images_enabled(true),
82 plugins_enabled(true), 82 plugins_enabled(true),
83 dom_paste_enabled(false), // enables execCommand("paste") 83 dom_paste_enabled(false), // enables execCommand("paste")
84 shrinks_standalone_images_to_fit(true), 84 shrinks_standalone_images_to_fit(true),
85 uses_universal_detector(false), // Disabled: page cycler regression 85 uses_universal_detector(false), // Disabled: page cycler regression
86 text_areas_are_resizable(true), 86 text_areas_are_resizable(true),
87 java_enabled(true),
Nico 2015/08/25 23:21:31 Maybe land a CL that switches this from true to fa
dcheng 2015/08/26 04:59:06 Per our chat, I'm going to try landing as is.
88 allow_scripts_to_close_windows(false), 87 allow_scripts_to_close_windows(false),
89 remote_fonts_enabled(true), 88 remote_fonts_enabled(true),
90 javascript_can_access_clipboard(false), 89 javascript_can_access_clipboard(false),
91 xslt_enabled(true), 90 xslt_enabled(true),
92 xss_auditor_enabled(true), 91 xss_auditor_enabled(true),
93 dns_prefetching_enabled(true), 92 dns_prefetching_enabled(true),
94 local_storage_enabled(false), 93 local_storage_enabled(false),
95 databases_enabled(false), 94 databases_enabled(false),
96 application_cache_enabled(false), 95 application_cache_enabled(false),
97 tabs_to_links(true), 96 tabs_to_links(true),
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 216 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
218 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 217 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
219 pictograph_font_family_map[kCommonScript] = 218 pictograph_font_family_map[kCommonScript] =
220 base::ASCIIToUTF16("Times New Roman"); 219 base::ASCIIToUTF16("Times New Roman");
221 } 220 }
222 221
223 WebPreferences::~WebPreferences() { 222 WebPreferences::~WebPreferences() {
224 } 223 }
225 224
226 } // namespace content 225 } // 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