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

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: Updated histograms.xml 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698