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

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

Issue 789163004: Revert of Delete the enable/disable layer squashing flags and settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 webaudio_enabled(false), 112 webaudio_enabled(false),
113 experimental_webgl_enabled(false), 113 experimental_webgl_enabled(false),
114 pepper_3d_enabled(false), 114 pepper_3d_enabled(false),
115 flash_3d_enabled(true), 115 flash_3d_enabled(true),
116 flash_stage3d_enabled(false), 116 flash_stage3d_enabled(false),
117 flash_stage3d_baseline_enabled(false), 117 flash_stage3d_baseline_enabled(false),
118 gl_multisampling_enabled(true), 118 gl_multisampling_enabled(true),
119 privileged_webgl_extensions_enabled(false), 119 privileged_webgl_extensions_enabled(false),
120 webgl_errors_to_console_enabled(true), 120 webgl_errors_to_console_enabled(true),
121 mock_scrollbars_enabled(false), 121 mock_scrollbars_enabled(false),
122 layer_squashing_enabled(true),
122 asynchronous_spell_checking_enabled(true), 123 asynchronous_spell_checking_enabled(true),
123 unified_textchecker_enabled(false), 124 unified_textchecker_enabled(false),
124 accelerated_2d_canvas_enabled(false), 125 accelerated_2d_canvas_enabled(false),
125 minimum_accelerated_2d_canvas_size(257 * 256), 126 minimum_accelerated_2d_canvas_size(257 * 256),
126 antialiased_2d_canvas_disabled(false), 127 antialiased_2d_canvas_disabled(false),
127 antialiased_clips_2d_canvas_enabled(false), 128 antialiased_clips_2d_canvas_enabled(false),
128 accelerated_2d_canvas_msaa_sample_count(0), 129 accelerated_2d_canvas_msaa_sample_count(0),
129 accelerated_filters_enabled(false), 130 accelerated_filters_enabled(false),
130 deferred_filters_enabled(false), 131 deferred_filters_enabled(false),
131 container_culling_enabled(false), 132 container_culling_enabled(false),
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 216 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
216 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 217 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
217 pictograph_font_family_map[kCommonScript] = 218 pictograph_font_family_map[kCommonScript] =
218 base::ASCIIToUTF16("Times New Roman"); 219 base::ASCIIToUTF16("Times New Roman");
219 } 220 }
220 221
221 WebPreferences::~WebPreferences() { 222 WebPreferences::~WebPreferences() {
222 } 223 }
223 224
224 } // namespace content 225 } // 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