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

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

Issue 2881073003: Support DataSaver for SharedWorker (Closed)
Patch Set: fix #include "public/web/WebDataSaverFlag.h" Created 3 years, 7 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 #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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 encrypted_media_enabled(true), 83 encrypted_media_enabled(true),
84 dom_paste_enabled(false), // enables execCommand("paste") 84 dom_paste_enabled(false), // enables execCommand("paste")
85 shrinks_standalone_images_to_fit(true), 85 shrinks_standalone_images_to_fit(true),
86 text_areas_are_resizable(true), 86 text_areas_are_resizable(true),
87 allow_scripts_to_close_windows(false), 87 allow_scripts_to_close_windows(false),
88 remote_fonts_enabled(true), 88 remote_fonts_enabled(true),
89 javascript_can_access_clipboard(false), 89 javascript_can_access_clipboard(false),
90 xslt_enabled(true), 90 xslt_enabled(true),
91 xss_auditor_enabled(true), 91 xss_auditor_enabled(true),
92 dns_prefetching_enabled(true), 92 dns_prefetching_enabled(true),
93 data_saver_enabled(false), 93 data_saver_flag(blink::WebDataSaverFlag::kDisabled),
94 local_storage_enabled(false), 94 local_storage_enabled(false),
95 databases_enabled(false), 95 databases_enabled(false),
96 application_cache_enabled(false), 96 application_cache_enabled(false),
97 tabs_to_links(true), 97 tabs_to_links(true),
98 history_entry_requires_user_gesture(false), 98 history_entry_requires_user_gesture(false),
99 hyperlink_auditing_enabled(true), 99 hyperlink_auditing_enabled(true),
100 allow_universal_access_from_file_urls(false), 100 allow_universal_access_from_file_urls(false),
101 allow_file_access_from_file_urls(false), 101 allow_file_access_from_file_urls(false),
102 experimental_webgl_enabled(false), 102 experimental_webgl_enabled(false),
103 pepper_3d_enabled(false), 103 pepper_3d_enabled(false),
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 pictograph_font_family_map[kCommonScript] = 242 pictograph_font_family_map[kCommonScript] =
243 base::ASCIIToUTF16("Times New Roman"); 243 base::ASCIIToUTF16("Times New Roman");
244 } 244 }
245 245
246 WebPreferences::WebPreferences(const WebPreferences& other) = default; 246 WebPreferences::WebPreferences(const WebPreferences& other) = default;
247 247
248 WebPreferences::~WebPreferences() { 248 WebPreferences::~WebPreferences() {
249 } 249 }
250 250
251 } // namespace content 251 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698