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

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

Issue 1530403002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 11 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 antialiased_clips_2d_canvas_enabled(false), 116 antialiased_clips_2d_canvas_enabled(false),
117 accelerated_2d_canvas_msaa_sample_count(0), 117 accelerated_2d_canvas_msaa_sample_count(0),
118 accelerated_filters_enabled(false), 118 accelerated_filters_enabled(false),
119 deferred_filters_enabled(false), 119 deferred_filters_enabled(false),
120 container_culling_enabled(false), 120 container_culling_enabled(false),
121 allow_displaying_insecure_content(true), 121 allow_displaying_insecure_content(true),
122 allow_running_insecure_content(false), 122 allow_running_insecure_content(false),
123 disable_reading_from_canvas(false), 123 disable_reading_from_canvas(false),
124 strict_mixed_content_checking(false), 124 strict_mixed_content_checking(false),
125 strict_powerful_feature_restrictions(false), 125 strict_powerful_feature_restrictions(false),
126 allow_geolocation_on_insecure_origins(false),
126 strictly_block_blockable_mixed_content(false), 127 strictly_block_blockable_mixed_content(false),
127 block_mixed_plugin_content(false), 128 block_mixed_plugin_content(false),
128 password_echo_enabled(false), 129 password_echo_enabled(false),
129 should_print_backgrounds(false), 130 should_print_backgrounds(false),
130 should_clear_document_background(true), 131 should_clear_document_background(true),
131 enable_scroll_animator(false), 132 enable_scroll_animator(false),
132 touch_enabled(false), 133 touch_enabled(false),
133 device_supports_touch(false), 134 device_supports_touch(false),
134 device_supports_mouse(true), 135 device_supports_mouse(true),
135 touch_adjustment_enabled(true), 136 touch_adjustment_enabled(true),
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 217 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
217 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 218 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
218 pictograph_font_family_map[kCommonScript] = 219 pictograph_font_family_map[kCommonScript] =
219 base::ASCIIToUTF16("Times New Roman"); 220 base::ASCIIToUTF16("Times New Roman");
220 } 221 }
221 222
222 WebPreferences::~WebPreferences() { 223 WebPreferences::~WebPreferences() {
223 } 224 }
224 225
225 } // namespace content 226 } // 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