| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 const char kLogPluginMessages[] = "log-plugin-messages"; | 274 const char kLogPluginMessages[] = "log-plugin-messages"; |
| 275 | 275 |
| 276 // Uses low-latency IPC for audio. | 276 // Uses low-latency IPC for audio. |
| 277 // That is temporary until we make it default and remove old code path. | 277 // That is temporary until we make it default and remove old code path. |
| 278 const char kLowLatencyAudio[] = "enable-low-latency-audio"; | 278 const char kLowLatencyAudio[] = "enable-low-latency-audio"; |
| 279 | 279 |
| 280 // Causes the process to run as a NativeClient broker | 280 // Causes the process to run as a NativeClient broker |
| 281 // (used for launching NaCl loader processes on 64-bit Windows). | 281 // (used for launching NaCl loader processes on 64-bit Windows). |
| 282 const char kNaClBrokerProcess[] = "nacl-broker"; | 282 const char kNaClBrokerProcess[] = "nacl-broker"; |
| 283 | 283 |
| 284 // Enables experimental lightweight Native Client launcher for Linux | |
| 285 // Value is the path to the helper binary. | |
| 286 const char kNaClLinuxHelper[] = "nacl-linux-helper"; | |
| 287 | |
| 288 // Causes the process to run as a NativeClient loader. | 284 // Causes the process to run as a NativeClient loader. |
| 289 const char kNaClLoaderProcess[] = "nacl-loader"; | 285 const char kNaClLoaderProcess[] = "nacl-loader"; |
| 290 | 286 |
| 291 // By default, an https page can load images, fonts or frames from an http page. | 287 // By default, an https page can load images, fonts or frames from an http page. |
| 292 // This switch overrides this to block this lesser mixed-content problem. | 288 // This switch overrides this to block this lesser mixed-content problem. |
| 293 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; | 289 const char kNoDisplayingInsecureContent[] = "no-displaying-insecure-content"; |
| 294 | 290 |
| 295 // Support a separate switch that enables the v8 playback extension. | 291 // Support a separate switch that enables the v8 playback extension. |
| 296 // The extension causes javascript calls to Date.now() and Math.random() | 292 // The extension causes javascript calls to Date.now() and Math.random() |
| 297 // to return consistent values, such that subsequent loads of the same | 293 // to return consistent values, such that subsequent loads of the same |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 // Specify the amount the trackpad should scroll by. | 472 // Specify the amount the trackpad should scroll by. |
| 477 const char kScrollPixels[] = "scroll-pixels"; | 473 const char kScrollPixels[] = "scroll-pixels"; |
| 478 #endif | 474 #endif |
| 479 | 475 |
| 480 #if !defined(OFFICIAL_BUILD) | 476 #if !defined(OFFICIAL_BUILD) |
| 481 // Causes the renderer process to throw an assertion on launch. | 477 // Causes the renderer process to throw an assertion on launch. |
| 482 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 478 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 483 #endif | 479 #endif |
| 484 | 480 |
| 485 } // namespace switches | 481 } // namespace switches |
| OLD | NEW |