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

Side by Side Diff: content/renderer/render_view_impl.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.cc ('k') | gpu/config/gpu_blacklist.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1062
1063 settings->setUnsafePluginPastingEnabled(false); 1063 settings->setUnsafePluginPastingEnabled(false);
1064 settings->setEditingBehavior( 1064 settings->setEditingBehavior(
1065 static_cast<WebSettings::EditingBehavior>(prefs.editing_behavior)); 1065 static_cast<WebSettings::EditingBehavior>(prefs.editing_behavior));
1066 1066
1067 settings->setSupportsMultipleWindows(prefs.supports_multiple_windows); 1067 settings->setSupportsMultipleWindows(prefs.supports_multiple_windows);
1068 1068
1069 settings->setViewportEnabled(prefs.viewport_enabled); 1069 settings->setViewportEnabled(prefs.viewport_enabled);
1070 settings->setLoadWithOverviewMode(prefs.initialize_at_minimum_page_scale); 1070 settings->setLoadWithOverviewMode(prefs.initialize_at_minimum_page_scale);
1071 settings->setViewportMetaEnabled(prefs.viewport_meta_enabled); 1071 settings->setViewportMetaEnabled(prefs.viewport_meta_enabled);
1072 settings->setUseExpandedHeuristicsForGpuRasterization(
1073 prefs.use_expanded_heuristics_for_gpu_rasterization);
1074 settings->setMainFrameResizesAreOrientationChanges( 1072 settings->setMainFrameResizesAreOrientationChanges(
1075 prefs.main_frame_resizes_are_orientation_changes); 1073 prefs.main_frame_resizes_are_orientation_changes);
1076 1074
1077 settings->setSmartInsertDeleteEnabled(prefs.smart_insert_delete_enabled); 1075 settings->setSmartInsertDeleteEnabled(prefs.smart_insert_delete_enabled);
1078 1076
1079 settings->setSpatialNavigationEnabled(prefs.spatial_navigation_enabled); 1077 settings->setSpatialNavigationEnabled(prefs.spatial_navigation_enabled);
1080 1078
1081 settings->setSelectionIncludesAltImageText(true); 1079 settings->setSelectionIncludesAltImageText(true);
1082 1080
1083 settings->setV8CacheOptions( 1081 settings->setV8CacheOptions(
(...skipping 3191 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 std::vector<gfx::Size> sizes; 4273 std::vector<gfx::Size> sizes;
4276 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); 4274 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes);
4277 if (!url.isEmpty()) 4275 if (!url.isEmpty())
4278 urls.push_back( 4276 urls.push_back(
4279 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); 4277 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes));
4280 } 4278 }
4281 SendUpdateFaviconURL(urls); 4279 SendUpdateFaviconURL(urls);
4282 } 4280 }
4283 4281
4284 } // namespace content 4282 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698