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

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

Issue 1260163005: Appease jschuh@ by adding a field trial to move 'plugin' to blockable mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@settingh
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
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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Strict mixed content checking disables both displaying and running insecure 134 // Strict mixed content checking disables both displaying and running insecure
135 // mixed content, and disables embedder notifications that such content was 135 // mixed content, and disables embedder notifications that such content was
136 // requested (thereby preventing user override). 136 // requested (thereby preventing user override).
137 bool strict_mixed_content_checking; 137 bool strict_mixed_content_checking;
138 // Strict powerful feature restrictions block insecure usage of powerful 138 // Strict powerful feature restrictions block insecure usage of powerful
139 // features (like geolocation) that we haven't yet disabled for the web at 139 // features (like geolocation) that we haven't yet disabled for the web at
140 // large. 140 // large.
141 bool strict_powerful_feature_restrictions; 141 bool strict_powerful_feature_restrictions;
142 // Disallow user opt-in for blockable mixed content. 142 // Disallow user opt-in for blockable mixed content.
143 bool strictly_block_blockable_mixed_content; 143 bool strictly_block_blockable_mixed_content;
144 bool block_mixed_plugin_content;
144 bool password_echo_enabled; 145 bool password_echo_enabled;
145 bool should_print_backgrounds; 146 bool should_print_backgrounds;
146 bool should_clear_document_background; 147 bool should_clear_document_background;
147 bool enable_scroll_animator; 148 bool enable_scroll_animator;
148 bool css_variables_enabled; 149 bool css_variables_enabled;
149 bool touch_enabled; 150 bool touch_enabled;
150 // TODO(mustaq): Nuke when the new API is ready 151 // TODO(mustaq): Nuke when the new API is ready
151 bool device_supports_touch; 152 bool device_supports_touch;
152 // TODO(mustaq): Nuke when the new API is ready 153 // TODO(mustaq): Nuke when the new API is ready
153 bool device_supports_mouse; 154 bool device_supports_mouse;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // We try to keep the default values the same as the default values in 222 // We try to keep the default values the same as the default values in
222 // chrome, except for the cases where it would require lots of extra work for 223 // chrome, except for the cases where it would require lots of extra work for
223 // the embedder to use the same default value. 224 // the embedder to use the same default value.
224 WebPreferences(); 225 WebPreferences();
225 ~WebPreferences(); 226 ~WebPreferences();
226 }; 227 };
227 228
228 } // namespace content 229 } // namespace content
229 230
230 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ 231 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698