| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 // WebFonts intervention v2 flag and values. | 379 // WebFonts intervention v2 flag and values. |
| 380 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; | 380 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; |
| 381 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = | 381 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = |
| 382 "enabled-2g"; | 382 "enabled-2g"; |
| 383 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = | 383 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith3G[] = |
| 384 "enabled-3g"; | 384 "enabled-3g"; |
| 385 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = | 385 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = |
| 386 "enabled-slow2g"; | 386 "enabled-slow2g"; |
| 387 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; | 387 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; |
| 388 | 388 |
| 389 // Enables Generic Sensor API functionality. | |
| 390 const char kEnableGenericSensors[] = "enable-generic-sensors"; | |
| 391 | |
| 392 // Makes the GL worker context run asynchronously by using a separate stream. | 389 // Makes the GL worker context run asynchronously by using a separate stream. |
| 393 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; | 390 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; |
| 394 | 391 |
| 395 // Specify that all compositor resources should be backed by GPU memory buffers. | 392 // Specify that all compositor resources should be backed by GPU memory buffers. |
| 396 const char kEnableGpuMemoryBufferCompositorResources[] = | 393 const char kEnableGpuMemoryBufferCompositorResources[] = |
| 397 "enable-gpu-memory-buffer-compositor-resources"; | 394 "enable-gpu-memory-buffer-compositor-resources"; |
| 398 | 395 |
| 399 // Enable GpuMemoryBuffer backed VideoFrames. | 396 // Enable GpuMemoryBuffer backed VideoFrames. |
| 400 const char kEnableGpuMemoryBufferVideoFrames[] = | 397 const char kEnableGpuMemoryBufferVideoFrames[] = |
| 401 "enable-gpu-memory-buffer-video-frames"; | 398 "enable-gpu-memory-buffer-video-frames"; |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1060 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1064 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1061 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1065 | 1062 |
| 1066 // Specifies the testcase used by the IPC fuzzer. | 1063 // Specifies the testcase used by the IPC fuzzer. |
| 1067 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1064 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1068 #endif | 1065 #endif |
| 1069 | 1066 |
| 1070 // Don't dump stuff here, follow the same order as the header. | 1067 // Don't dump stuff here, follow the same order as the header. |
| 1071 | 1068 |
| 1072 } // namespace switches | 1069 } // namespace switches |
| OLD | NEW |