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

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

Issue 846813002: Revert "Remove impl-side-painting from about:flags" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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.h ('k') | content/renderer/render_thread_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 (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/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 155 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
156 // unload handlers on a page to prevent the tab from closing, but the Task 156 // unload handlers on a page to prevent the tab from closing, but the Task
157 // Manager can be used to terminate the offending process in this case. 157 // Manager can be used to terminate the offending process in this case.
158 const char kDisableHangMonitor[] = "disable-hang-monitor"; 158 const char kDisableHangMonitor[] = "disable-hang-monitor";
159 159
160 // Disable the RenderThread's HistogramCustomizer. 160 // Disable the RenderThread's HistogramCustomizer.
161 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; 161 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer";
162 162
163 // Paint content on the main thread instead of the compositor thread. 163 // Paint content on the main thread instead of the compositor thread.
164 // Overrides the kEnableImplSidePainting flag.
164 const char kDisableImplSidePainting[] = "disable-impl-side-painting"; 165 const char kDisableImplSidePainting[] = "disable-impl-side-painting";
165 166
166 // Prevent Java from running. 167 // Prevent Java from running.
167 const char kDisableJava[] = "disable-java"; 168 const char kDisableJava[] = "disable-java";
168 169
169 // Don't kill a child process when it sends a bad IPC message. Apart 170 // Don't kill a child process when it sends a bad IPC message. Apart
170 // from testing, it is a bad idea from a security perspective to enable 171 // from testing, it is a bad idea from a security perspective to enable
171 // this switch. 172 // this switch.
172 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; 173 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc";
173 174
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 // impl-side painting. 338 // impl-side painting.
338 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; 339 const char kEnableGpuRasterization[] = "enable-gpu-rasterization";
339 340
340 // When using CPU rasterizing generate low resolution tiling. Low res 341 // When using CPU rasterizing generate low resolution tiling. Low res
341 // tiles may be displayed during fast scrolls especially on slower devices. 342 // tiles may be displayed during fast scrolls especially on slower devices.
342 const char kEnableLowResTiling[] = "enable-low-res-tiling"; 343 const char kEnableLowResTiling[] = "enable-low-res-tiling";
343 344
344 // Dynamically apply color profiles to web content images. 345 // Dynamically apply color profiles to web content images.
345 const char kEnableImageColorProfiles[] = "enable-image-color-profiles"; 346 const char kEnableImageColorProfiles[] = "enable-image-color-profiles";
346 347
348 // Paint content on the compositor thread instead of the main thread.
349 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
350
347 // Force logging to be enabled. Logging is disabled by default in release 351 // Force logging to be enabled. Logging is disabled by default in release
348 // builds. 352 // builds.
349 const char kEnableLogging[] = "enable-logging"; 353 const char kEnableLogging[] = "enable-logging";
350 354
351 // Enables the memory benchmarking extension 355 // Enables the memory benchmarking extension
352 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 356 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
353 357
354 // Enables the network information API. 358 // Enables the network information API.
355 const char kEnableNetworkInformation[] = "enable-network-information"; 359 const char kEnableNetworkInformation[] = "enable-network-information";
356 360
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 976 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
973 return false; 977 return false;
974 // Default. 978 // Default.
975 return group_name == "Enabled"; 979 return group_name == "Enabled";
976 } 980 }
977 #endif 981 #endif
978 982
979 // Don't dump stuff here, follow the same order as the header. 983 // Don't dump stuff here, follow the same order as the header.
980 984
981 } // namespace switches 985 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698