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

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

Issue 2356193002: [Sensors] Adding chrome flag to enable Generic Sensor based APIs (Closed)
Patch Set: rebased Created 4 years, 2 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 "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
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698