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

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

Issue 2078433002: [sensors] Introduce Generic Sensor API interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cap frequency to 60Hz. Created 4 years, 5 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 const char kEnableWebBluetooth[] = "enable-web-bluetooth"; 369 const char kEnableWebBluetooth[] = "enable-web-bluetooth";
370 370
371 // WebFonts intervention v2 flag and values. 371 // WebFonts intervention v2 flag and values.
372 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2"; 372 const char kEnableWebFontsInterventionV2[] = "enable-webfonts-intervention-v2";
373 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] = 373 const char kEnableWebFontsInterventionV2SwitchValueEnabledWith2G[] =
374 "enabled-2g"; 374 "enabled-2g";
375 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] = 375 const char kEnableWebFontsInterventionV2SwitchValueEnabledWithSlow2G[] =
376 "enabled-slow2g"; 376 "enabled-slow2g";
377 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled"; 377 const char kEnableWebFontsInterventionV2SwitchValueDisabled[] = "disabled";
378 378
379 // Enables Generic Sensor API functionality.
380 const char kEnableGenericSensors[] = "enable-generic-sensors";
381
379 // Makes the GL worker context run asynchronously by using a separate stream. 382 // Makes the GL worker context run asynchronously by using a separate stream.
380 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context"; 383 const char kEnableGpuAsyncWorkerContext[] = "enable-gpu-async-worker-context";
381 384
382 // Specify that all compositor resources should be backed by GPU memory buffers. 385 // Specify that all compositor resources should be backed by GPU memory buffers.
383 const char kEnableGpuMemoryBufferCompositorResources[] = 386 const char kEnableGpuMemoryBufferCompositorResources[] =
384 "enable-gpu-memory-buffer-compositor-resources"; 387 "enable-gpu-memory-buffer-compositor-resources";
385 388
386 // Enable GpuMemoryBuffer backed VideoFrames. 389 // Enable GpuMemoryBuffer backed VideoFrames.
387 const char kEnableGpuMemoryBufferVideoFrames[] = 390 const char kEnableGpuMemoryBufferVideoFrames[] =
388 "enable-gpu-memory-buffer-video-frames"; 391 "enable-gpu-memory-buffer-video-frames";
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 // the given directory. Used primarily to gather samples for IPC fuzzing. 1057 // the given directory. Used primarily to gather samples for IPC fuzzing.
1055 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1058 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1056 1059
1057 // Specifies the testcase used by the IPC fuzzer. 1060 // Specifies the testcase used by the IPC fuzzer.
1058 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1061 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1059 #endif 1062 #endif
1060 1063
1061 // Don't dump stuff here, follow the same order as the header. 1064 // Don't dump stuff here, follow the same order as the header.
1062 1065
1063 } // namespace switches 1066 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698