| OLD | NEW |
| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 // WebFonts intervention v2 flag and values. | 382 // WebFonts intervention v2 flag and values. |
| 383 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; | 383 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; |
| 384 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = | 384 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = |
| 385 "enabled-2g"; | 385 "enabled-2g"; |
| 386 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = | 386 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = |
| 387 "enabled-3g"; | 387 "enabled-3g"; |
| 388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = | 388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = |
| 389 "enabled-slow2g"; | 389 "enabled-slow2g"; |
| 390 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; | 390 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; |
| 391 | 391 |
| 392 // Enables Generic Sensor API functionality. | |
| 393 const char kEnableGenericSensors[] = "enable-generic-sensors"; | |
| 394 | |
| 395 // Makes the GL worker context run asynchronously by using a separate stream. | 392 // Makes the GL worker context run asynchronously by using a separate stream. |
| 396 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; | 393 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; |
| 397 | 394 |
| 398 // Specify that all compositor resources should be backed by GPU memory buffers. | 395 // Specify that all compositor resources should be backed by GPU memory buffers. |
| 399 const char kEnableGpuMemoryBufferCompositorResources[] = | 396 const char kEnableGpuMemoryBufferCompositorResources[] = |
| 400 "enable-gpu-memory-buffer-compositor-resources"; | 397 "enable-gpu-memory-buffer-compositor-resources"; |
| 401 | 398 |
| 402 // Enable GpuMemoryBuffer backed VideoFrames. | 399 // Enable GpuMemoryBuffer backed VideoFrames. |
| 403 const char kEnableGpuMemoryBufferVideoFrames[] = | 400 const char kEnableGpuMemoryBufferVideoFrames[] = |
| 404 "enable-gpu-memory-buffer-video-frames"; | 401 "enable-gpu-memory-buffer-video-frames"; |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1074 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1071 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1075 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1072 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1076 | 1073 |
| 1077 // Specifies the testcase used by the IPC fuzzer. | 1074 // Specifies the testcase used by the IPC fuzzer. |
| 1078 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1075 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1079 #endif | 1076 #endif |
| 1080 | 1077 |
| 1081 // Don't dump stuff here, follow the same order as the header. | 1078 // Don't dump stuff here, follow the same order as the header. |
| 1082 | 1079 |
| 1083 } // namespace switches | 1080 } // namespace switches |
| OLD | NEW |