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

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

Issue 496503002: Delete obsolete GPU rasterization content whitelist code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #elif defined(OS_ANDROID) 116 #elif defined(OS_ANDROID)
117 editing_behavior(EDITING_BEHAVIOR_ANDROID), 117 editing_behavior(EDITING_BEHAVIOR_ANDROID),
118 #elif defined(OS_POSIX) 118 #elif defined(OS_POSIX)
119 editing_behavior(EDITING_BEHAVIOR_UNIX), 119 editing_behavior(EDITING_BEHAVIOR_UNIX),
120 #else 120 #else
121 editing_behavior(EDITING_BEHAVIOR_MAC), 121 editing_behavior(EDITING_BEHAVIOR_MAC),
122 #endif 122 #endif
123 supports_multiple_windows(true), 123 supports_multiple_windows(true),
124 viewport_enabled(false), 124 viewport_enabled(false),
125 viewport_meta_enabled(false), 125 viewport_meta_enabled(false),
126 use_expanded_heuristics_for_gpu_rasterization(false),
127 main_frame_resizes_are_orientation_changes(false), 126 main_frame_resizes_are_orientation_changes(false),
128 initialize_at_minimum_page_scale(true), 127 initialize_at_minimum_page_scale(true),
129 #if defined(OS_MACOSX) 128 #if defined(OS_MACOSX)
130 smart_insert_delete_enabled(true), 129 smart_insert_delete_enabled(true),
131 #else 130 #else
132 smart_insert_delete_enabled(false), 131 smart_insert_delete_enabled(false),
133 #endif 132 #endif
134 spatial_navigation_enabled(false), 133 spatial_navigation_enabled(false),
135 pinch_virtual_viewport_enabled(false), 134 pinch_virtual_viewport_enabled(false),
136 pinch_overlay_scrollbar_thickness(0), 135 pinch_overlay_scrollbar_thickness(0),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 170 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
172 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 171 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
173 pictograph_font_family_map[kCommonScript] = 172 pictograph_font_family_map[kCommonScript] =
174 base::ASCIIToUTF16("Times New Roman"); 173 base::ASCIIToUTF16("Times New Roman");
175 } 174 }
176 175
177 WebPreferences::~WebPreferences() { 176 WebPreferences::~WebPreferences() {
178 } 177 }
179 178
180 } // namespace content 179 } // 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