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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 643433003: Remove deferred filters command-line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 1004
1005 // Disable antialiasing for 2d canvas if requested on the command line. 1005 // Disable antialiasing for 2d canvas if requested on the command line.
1006 settings->setAntialiased2dCanvasEnabled( 1006 settings->setAntialiased2dCanvasEnabled(
1007 !prefs.antialiased_2d_canvas_disabled); 1007 !prefs.antialiased_2d_canvas_disabled);
1008 1008
1009 // Set MSAA sample count for 2d canvas if requested on the command line (or 1009 // Set MSAA sample count for 2d canvas if requested on the command line (or
1010 // default value if not). 1010 // default value if not).
1011 settings->setAccelerated2dCanvasMSAASampleCount( 1011 settings->setAccelerated2dCanvasMSAASampleCount(
1012 prefs.accelerated_2d_canvas_msaa_sample_count); 1012 prefs.accelerated_2d_canvas_msaa_sample_count);
1013 1013
1014 // Enable deferred filter rendering if requested on the command line.
1015 settings->setDeferredFiltersEnabled(prefs.deferred_filters_enabled);
1016
1017 // Enable container culling if requested on the command line. 1014 // Enable container culling if requested on the command line.
1018 settings->setContainerCullingEnabled(prefs.container_culling_enabled); 1015 settings->setContainerCullingEnabled(prefs.container_culling_enabled);
1019 1016
1020 WebRuntimeFeatures::enableTextBlobs(prefs.text_blobs_enabled); 1017 WebRuntimeFeatures::enableTextBlobs(prefs.text_blobs_enabled);
1021 1018
1022 settings->setAsynchronousSpellCheckingEnabled( 1019 settings->setAsynchronousSpellCheckingEnabled(
1023 prefs.asynchronous_spell_checking_enabled); 1020 prefs.asynchronous_spell_checking_enabled);
1024 settings->setUnifiedTextCheckerEnabled(prefs.unified_textchecker_enabled); 1021 settings->setUnifiedTextCheckerEnabled(prefs.unified_textchecker_enabled);
1025 1022
1026 // Tabs to link is not part of the settings. WebCore calls 1023 // Tabs to link is not part of the settings. WebCore calls
(...skipping 3163 matching lines...) Expand 10 before | Expand all | Expand 10 after
4190 std::vector<gfx::Size> sizes; 4187 std::vector<gfx::Size> sizes;
4191 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes); 4188 ConvertToFaviconSizes(icon_urls[i].sizes(), &sizes);
4192 if (!url.isEmpty()) 4189 if (!url.isEmpty())
4193 urls.push_back( 4190 urls.push_back(
4194 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes)); 4191 FaviconURL(url, ToFaviconType(icon_urls[i].iconType()), sizes));
4195 } 4192 }
4196 SendUpdateFaviconURL(urls); 4193 SendUpdateFaviconURL(urls);
4197 } 4194 }
4198 4195
4199 } // namespace content 4196 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698