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

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

Issue 2278303002: Remove the allow-displaying-mixed-content setting from Blink. (Closed)
Patch Set: Fixed missign deprecated preference registration. Created 4 years, 3 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/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 mock_scrollbars_enabled(false), 108 mock_scrollbars_enabled(false),
109 accelerated_2d_canvas_enabled(false), 109 accelerated_2d_canvas_enabled(false),
110 minimum_accelerated_2d_canvas_size(257 * 256), 110 minimum_accelerated_2d_canvas_size(257 * 256),
111 disable_2d_canvas_copy_on_write(false), 111 disable_2d_canvas_copy_on_write(false),
112 antialiased_2d_canvas_disabled(false), 112 antialiased_2d_canvas_disabled(false),
113 antialiased_clips_2d_canvas_enabled(false), 113 antialiased_clips_2d_canvas_enabled(false),
114 accelerated_2d_canvas_msaa_sample_count(0), 114 accelerated_2d_canvas_msaa_sample_count(0),
115 accelerated_filters_enabled(false), 115 accelerated_filters_enabled(false),
116 deferred_filters_enabled(false), 116 deferred_filters_enabled(false),
117 container_culling_enabled(false), 117 container_culling_enabled(false),
118 allow_displaying_insecure_content(true),
119 allow_running_insecure_content(false), 118 allow_running_insecure_content(false),
120 disable_reading_from_canvas(false), 119 disable_reading_from_canvas(false),
121 strict_mixed_content_checking(false), 120 strict_mixed_content_checking(false),
122 strict_powerful_feature_restrictions(false), 121 strict_powerful_feature_restrictions(false),
123 allow_geolocation_on_insecure_origins(false), 122 allow_geolocation_on_insecure_origins(false),
124 strictly_block_blockable_mixed_content(false), 123 strictly_block_blockable_mixed_content(false),
125 block_mixed_plugin_content(false), 124 block_mixed_plugin_content(false),
126 password_echo_enabled(false), 125 password_echo_enabled(false),
127 should_print_backgrounds(false), 126 should_print_backgrounds(false),
128 should_clear_document_background(true), 127 should_clear_document_background(true),
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 pictograph_font_family_map[kCommonScript] = 226 pictograph_font_family_map[kCommonScript] =
228 base::ASCIIToUTF16("Times New Roman"); 227 base::ASCIIToUTF16("Times New Roman");
229 } 228 }
230 229
231 WebPreferences::WebPreferences(const WebPreferences& other) = default; 230 WebPreferences::WebPreferences(const WebPreferences& other) = default;
232 231
233 WebPreferences::~WebPreferences() { 232 WebPreferences::~WebPreferences() {
234 } 233 }
235 234
236 } // namespace content 235 } // 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