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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: check for presence of settings using DCHECK + sync. 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
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
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),
104 flash_3d_enabled(true), 104 flash_3d_enabled(true),
105 flash_stage3d_enabled(false), 105 flash_stage3d_enabled(false),
106 flash_stage3d_baseline_enabled(false), 106 flash_stage3d_baseline_enabled(false),
107 privileged_webgl_extensions_enabled(false), 107 privileged_webgl_extensions_enabled(false),
108 webgl_errors_to_console_enabled(true), 108 webgl_errors_to_console_enabled(true),
109 mock_scrollbars_enabled(false), 109 mock_scrollbars_enabled(false),
110 hide_scrollbars(false),
110 accelerated_2d_canvas_enabled(false), 111 accelerated_2d_canvas_enabled(false),
111 minimum_accelerated_2d_canvas_size(257 * 256), 112 minimum_accelerated_2d_canvas_size(257 * 256),
112 disable_2d_canvas_copy_on_write(false), 113 disable_2d_canvas_copy_on_write(false),
113 antialiased_2d_canvas_disabled(false), 114 antialiased_2d_canvas_disabled(false),
114 antialiased_clips_2d_canvas_enabled(false), 115 antialiased_clips_2d_canvas_enabled(false),
115 accelerated_2d_canvas_msaa_sample_count(0), 116 accelerated_2d_canvas_msaa_sample_count(0),
116 accelerated_filters_enabled(false), 117 accelerated_filters_enabled(false),
117 deferred_filters_enabled(false), 118 deferred_filters_enabled(false),
118 container_culling_enabled(false), 119 container_culling_enabled(false),
119 allow_running_insecure_content(false), 120 allow_running_insecure_content(false),
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 pictograph_font_family_map[kCommonScript] = 228 pictograph_font_family_map[kCommonScript] =
228 base::ASCIIToUTF16("Times New Roman"); 229 base::ASCIIToUTF16("Times New Roman");
229 } 230 }
230 231
231 WebPreferences::WebPreferences(const WebPreferences& other) = default; 232 WebPreferences::WebPreferences(const WebPreferences& other) = default;
232 233
233 WebPreferences::~WebPreferences() { 234 WebPreferences::~WebPreferences() {
234 } 235 }
235 236
236 } // namespace content 237 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698