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

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

Issue 1169193003: [SP] Enable Slimming Paint by default in Chromium and Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge changes. Created 5 years, 6 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
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 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only). 231 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only).
232 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox"; 232 const char kDisableSeccompFilterSandbox[] = "disable-seccomp-filter-sandbox";
233 233
234 // Disable the setuid sandbox (Linux only). 234 // Disable the setuid sandbox (Linux only).
235 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; 235 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox";
236 236
237 // Disable shared workers. 237 // Disable shared workers.
238 const char kDisableSharedWorkers[] = "disable-shared-workers"; 238 const char kDisableSharedWorkers[] = "disable-shared-workers";
239 239
240 // Disables slimming paint: http://www.chromium.org/blink/slimming-paint
241 // Can be overridden by kEnableSlimmingPaint.
242 const char kDisableSlimmingPaint[] = "disable-slimming-paint";
243
240 // Disable smooth scrolling for testing. 244 // Disable smooth scrolling for testing.
241 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; 245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
242 246
243 // Disables the use of a 3D software rasterizer. 247 // Disables the use of a 3D software rasterizer.
244 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
245 249
246 // Disables the Web Speech API. 250 // Disables the Web Speech API.
247 const char kDisableSpeechAPI[] = "disable-speech-api"; 251 const char kDisableSpeechAPI[] = "disable-speech-api";
248 252
249 // Disables SVG 1.1 DOM. 253 // Disables SVG 1.1 DOM.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 414
411 // Enables seccomp-bpf support for Android. Requires experimental kernel 415 // Enables seccomp-bpf support for Android. Requires experimental kernel
412 // support. <http://crbug.com/166704> 416 // support. <http://crbug.com/166704>
413 const char kEnableSeccompFilterSandbox[] = 417 const char kEnableSeccompFilterSandbox[] =
414 "enable-seccomp-filter-sandbox"; 418 "enable-seccomp-filter-sandbox";
415 419
416 // Enables the Skia benchmarking extension 420 // Enables the Skia benchmarking extension
417 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; 421 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
418 422
419 // Enables slimming paint: http://www.chromium.org/blink/slimming-paint 423 // Enables slimming paint: http://www.chromium.org/blink/slimming-paint
424 // Overrides kDisableSlimmingPaint if both are present.
420 const char kEnableSlimmingPaint[] = "enable-slimming-paint"; 425 const char kEnableSlimmingPaint[] = "enable-slimming-paint";
421 426
422 // On platforms that support it, enables smooth scroll animation. 427 // On platforms that support it, enables smooth scroll animation.
423 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 428 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
424 429
425 // Enable spatial navigation 430 // Enable spatial navigation
426 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; 431 const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
427 432
428 // Enables implementation of the Cache-Control: stale-while-revalidate directive 433 // Enables implementation of the Cache-Control: stale-while-revalidate directive
429 // which permits servers to allow the use of stale resources while revalidation 434 // which permits servers to allow the use of stale resources while revalidation
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 // Windows Vista and later. 1008 // Windows Vista and later.
1004 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1009 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1005 #endif 1010 #endif
1006 1011
1007 // Enables the use of NPAPI plugins. 1012 // Enables the use of NPAPI plugins.
1008 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing"; 1013 const char kEnableNpapiForTesting[] = "enable-npapi-for-testing";
1009 1014
1010 // Don't dump stuff here, follow the same order as the header. 1015 // Don't dump stuff here, follow the same order as the header.
1011 1016
1012 } // namespace switches 1017 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698