OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/content_switches.h" | 5 #include "content/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // Load an NPAPI plugin from the specified path. | 272 // Load an NPAPI plugin from the specified path. |
273 const char kLoadPlugin[] = "load-plugin"; | 273 const char kLoadPlugin[] = "load-plugin"; |
274 | 274 |
275 // Sets the minimum log level. Valid values are from 0 to 3: | 275 // Sets the minimum log level. Valid values are from 0 to 3: |
276 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 276 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
277 const char kLoggingLevel[] = "log-level"; | 277 const char kLoggingLevel[] = "log-level"; |
278 | 278 |
279 // Make plugin processes log their sent and received messages to VLOG(1). | 279 // Make plugin processes log their sent and received messages to VLOG(1). |
280 const char kLogPluginMessages[] = "log-plugin-messages"; | 280 const char kLogPluginMessages[] = "log-plugin-messages"; |
281 | 281 |
282 // Uses high-latency IPC for audio. | 282 // Uses low-latency IPC for audio. |
283 // That is temporary until we are sure low latency works and remove old code. | 283 // That is temporary until we make it default and remove old code path. |
284 const char kHighLatencyAudio[] = "disable-low-latency-audio"; | 284 const char kLowLatencyAudio[] = "enable-low-latency-audio"; |
285 | 285 |
286 // Causes the process to run as a NativeClient broker | 286 // Causes the process to run as a NativeClient broker |
287 // (used for launching NaCl loader processes on 64-bit Windows). | 287 // (used for launching NaCl loader processes on 64-bit Windows). |
288 const char kNaClBrokerProcess[] = "nacl-broker"; | 288 const char kNaClBrokerProcess[] = "nacl-broker"; |
289 | 289 |
290 // Causes the process to run as a NativeClient loader. | 290 // Causes the process to run as a NativeClient loader. |
291 const char kNaClLoaderProcess[] = "nacl-loader"; | 291 const char kNaClLoaderProcess[] = "nacl-loader"; |
292 | 292 |
293 // By default, an https page can load images, fonts or frames from an http page. | 293 // By default, an https page can load images, fonts or frames from an http page. |
294 // This switch overrides this to block this lesser mixed-content problem. | 294 // This switch overrides this to block this lesser mixed-content problem. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 // Specify the amount the trackpad should scroll by. | 478 // Specify the amount the trackpad should scroll by. |
479 const char kScrollPixels[] = "scroll-pixels"; | 479 const char kScrollPixels[] = "scroll-pixels"; |
480 #endif | 480 #endif |
481 | 481 |
482 #if !defined(OFFICIAL_BUILD) | 482 #if !defined(OFFICIAL_BUILD) |
483 // Causes the renderer process to throw an assertion on launch. | 483 // Causes the renderer process to throw an assertion on launch. |
484 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 484 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
485 #endif | 485 #endif |
486 | 486 |
487 } // namespace switches | 487 } // namespace switches |
OLD | NEW |