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

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

Issue 2323563002: Add a flag to require a user gesture to add an entry to the back/forward list. (Closed)
Patch Set: Rebase 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 javascript_can_access_clipboard(false), 88 javascript_can_access_clipboard(false),
89 xslt_enabled(true), 89 xslt_enabled(true),
90 xss_auditor_enabled(true), 90 xss_auditor_enabled(true),
91 dns_prefetching_enabled(true), 91 dns_prefetching_enabled(true),
92 data_saver_enabled(false), 92 data_saver_enabled(false),
93 local_storage_enabled(false), 93 local_storage_enabled(false),
94 databases_enabled(false), 94 databases_enabled(false),
95 application_cache_enabled(false), 95 application_cache_enabled(false),
96 tabs_to_links(true), 96 tabs_to_links(true),
97 caret_browsing_enabled(false), 97 caret_browsing_enabled(false),
98 history_entry_requires_user_gesture(false),
98 hyperlink_auditing_enabled(true), 99 hyperlink_auditing_enabled(true),
99 allow_universal_access_from_file_urls(false), 100 allow_universal_access_from_file_urls(false),
100 allow_file_access_from_file_urls(false), 101 allow_file_access_from_file_urls(false),
101 experimental_webgl_enabled(false), 102 experimental_webgl_enabled(false),
102 pepper_3d_enabled(false), 103 pepper_3d_enabled(false),
103 flash_3d_enabled(true), 104 flash_3d_enabled(true),
104 flash_stage3d_enabled(false), 105 flash_stage3d_enabled(false),
105 flash_stage3d_baseline_enabled(false), 106 flash_stage3d_baseline_enabled(false),
106 privileged_webgl_extensions_enabled(false), 107 privileged_webgl_extensions_enabled(false),
107 webgl_errors_to_console_enabled(true), 108 webgl_errors_to_console_enabled(true),
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 pictograph_font_family_map[kCommonScript] = 227 pictograph_font_family_map[kCommonScript] =
227 base::ASCIIToUTF16("Times New Roman"); 228 base::ASCIIToUTF16("Times New Roman");
228 } 229 }
229 230
230 WebPreferences::WebPreferences(const WebPreferences& other) = default; 231 WebPreferences::WebPreferences(const WebPreferences& other) = default;
231 232
232 WebPreferences::~WebPreferences() { 233 WebPreferences::~WebPreferences() {
233 } 234 }
234 235
235 } // namespace content 236 } // 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