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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; | 384 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; |
385 | 385 |
386 // WebFonts intervention v2 flag and values. | 386 // WebFonts intervention v2 flag and values. |
387 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; | 387 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; |
388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = | 388 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = |
389 "enabled-2g"; | 389 "enabled-2g"; |
390 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = | 390 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = |
391 "enabled-slow2g"; | 391 "enabled-slow2g"; |
392 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; | 392 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; |
393 | 393 |
| 394 // Enables Generic Sensor API functionality. |
| 395 const char kEnableGenericSensors[] = "enable-generic-sensors"; |
| 396 |
394 // Makes the GL worker context run asynchronously by using a separate stream. | 397 // Makes the GL worker context run asynchronously by using a separate stream. |
395 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; | 398 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; |
396 | 399 |
397 // Specify that all compositor resources should be backed by GPU memory buffers. | 400 // Specify that all compositor resources should be backed by GPU memory buffers. |
398 const char kEnableGpuMemoryBufferCompositorResources[] = | 401 const char kEnableGpuMemoryBufferCompositorResources[] = |
399 "enable-gpu-memory-buffer-compositor-resources"; | 402 "enable-gpu-memory-buffer-compositor-resources"; |
400 | 403 |
401 // Enable GpuMemoryBuffer backed VideoFrames. | 404 // Enable GpuMemoryBuffer backed VideoFrames. |
402 const char kEnableGpuMemoryBufferVideoFrames[] = | 405 const char kEnableGpuMemoryBufferVideoFrames[] = |
403 "enable-gpu-memory-buffer-video-frames"; | 406 "enable-gpu-memory-buffer-video-frames"; |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1079 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1080 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1078 | 1081 |
1079 // Specifies the testcase used by the IPC fuzzer. | 1082 // Specifies the testcase used by the IPC fuzzer. |
1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1083 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1081 #endif | 1084 #endif |
1082 | 1085 |
1083 // Don't dump stuff here, follow the same order as the header. | 1086 // Don't dump stuff here, follow the same order as the header. |
1084 | 1087 |
1085 } // namespace switches | 1088 } // namespace switches |
OLD | NEW |