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

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

Issue 1660193007: [Presentation API] Adding a flag to disable gesture check for starting presentations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed philipj@'s comment Created 4 years, 10 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Disable 3D inside of flapper. 126 // Disable 3D inside of flapper.
127 const char kDisableFlash3d[] = "disable-flash-3d"; 127 const char kDisableFlash3d[] = "disable-flash-3d";
128 128
129 // Disable Stage3D inside of flapper. 129 // Disable Stage3D inside of flapper.
130 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; 130 const char kDisableFlashStage3d[] = "disable-flash-stage3d";
131 131
132 // Disable user gesture requirement for media playback. 132 // Disable user gesture requirement for media playback.
133 const char kDisableGestureRequirementForMediaPlayback[] = 133 const char kDisableGestureRequirementForMediaPlayback[] =
134 "disable-gesture-requirement-for-media-playback"; 134 "disable-gesture-requirement-for-media-playback";
135 135
136 // Disable user gesture requirement for presentation.
137 const char kDisableGestureRequirementForPresentation[] =
138 "disable-gesture-requirement-for-presentation";
139
136 // Disables GPU hardware acceleration. If software renderer is not in place, 140 // Disables GPU hardware acceleration. If software renderer is not in place,
137 // then the GPU process won't launch. 141 // then the GPU process won't launch.
138 const char kDisableGpu[] = "disable-gpu"; 142 const char kDisableGpu[] = "disable-gpu";
139 143
140 // Prevent the compositor from using its GPU implementation. 144 // Prevent the compositor from using its GPU implementation.
141 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; 145 const char kDisableGpuCompositing[] = "disable-gpu-compositing";
142 146
143 // Disable proactive early init of GPU process. 147 // Disable proactive early init of GPU process.
144 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init"; 148 const char kDisableGpuEarlyInit[] = "disable-gpu-early-init";
145 149
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1027 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1024 1028
1025 // Enables the exporting of the tracing events to ETW. This is only supported on 1029 // Enables the exporting of the tracing events to ETW. This is only supported on
1026 // Windows Vista and later. 1030 // Windows Vista and later.
1027 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1031 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1028 #endif 1032 #endif
1029 1033
1030 // Don't dump stuff here, follow the same order as the header. 1034 // Don't dump stuff here, follow the same order as the header.
1031 1035
1032 } // namespace switches 1036 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698