OLD | NEW |
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 gl_multisampling_enabled(true), | 82 gl_multisampling_enabled(true), |
83 privileged_webgl_extensions_enabled(false), | 83 privileged_webgl_extensions_enabled(false), |
84 webgl_errors_to_console_enabled(true), | 84 webgl_errors_to_console_enabled(true), |
85 mock_scrollbars_enabled(false), | 85 mock_scrollbars_enabled(false), |
86 layer_squashing_enabled(true), | 86 layer_squashing_enabled(true), |
87 asynchronous_spell_checking_enabled(true), | 87 asynchronous_spell_checking_enabled(true), |
88 unified_textchecker_enabled(false), | 88 unified_textchecker_enabled(false), |
89 accelerated_2d_canvas_enabled(false), | 89 accelerated_2d_canvas_enabled(false), |
90 minimum_accelerated_2d_canvas_size(257 * 256), | 90 minimum_accelerated_2d_canvas_size(257 * 256), |
91 antialiased_2d_canvas_disabled(false), | 91 antialiased_2d_canvas_disabled(false), |
| 92 antialiased_clips_2d_canvas_enabled(false), |
92 accelerated_2d_canvas_msaa_sample_count(0), | 93 accelerated_2d_canvas_msaa_sample_count(0), |
93 accelerated_filters_enabled(false), | 94 accelerated_filters_enabled(false), |
94 deferred_filters_enabled(false), | 95 deferred_filters_enabled(false), |
95 container_culling_enabled(false), | 96 container_culling_enabled(false), |
96 text_blobs_enabled(false), | 97 text_blobs_enabled(false), |
97 allow_displaying_insecure_content(true), | 98 allow_displaying_insecure_content(true), |
98 allow_running_insecure_content(false), | 99 allow_running_insecure_content(false), |
99 password_echo_enabled(false), | 100 password_echo_enabled(false), |
100 should_print_backgrounds(false), | 101 should_print_backgrounds(false), |
101 should_clear_document_background(true), | 102 should_clear_document_background(true), |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); | 173 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); |
173 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); | 174 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); |
174 pictograph_font_family_map[kCommonScript] = | 175 pictograph_font_family_map[kCommonScript] = |
175 base::ASCIIToUTF16("Times New Roman"); | 176 base::ASCIIToUTF16("Times New Roman"); |
176 } | 177 } |
177 | 178 |
178 WebPreferences::~WebPreferences() { | 179 WebPreferences::~WebPreferences() { |
179 } | 180 } |
180 | 181 |
181 } // namespace content | 182 } // namespace content |
OLD | NEW |