Chromium Code Reviews| 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/public/common/content_switches.h" | 5 #include "content/public/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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 435 // and study painting behavior. | 435 // and study painting behavior. |
| 436 const char kShowPaintRects[] = "show-paint-rects"; | 436 const char kShowPaintRects[] = "show-paint-rects"; |
| 437 // | 437 // |
| 438 // TODO(scherkus): remove --simple-data-source when our media resource loading | 438 // TODO(scherkus): remove --simple-data-source when our media resource loading |
| 439 // is cleaned up and playback testing completed. | 439 // is cleaned up and playback testing completed. |
| 440 const char kSimpleDataSource[] = "simple-data-source"; | 440 const char kSimpleDataSource[] = "simple-data-source"; |
| 441 | 441 |
| 442 // Runs the renderer and plugins in the same process as the browser | 442 // Runs the renderer and plugins in the same process as the browser |
| 443 const char kSingleProcess[] = "single-process"; | 443 const char kSingleProcess[] = "single-process"; |
| 444 | 444 |
| 445 // Skip gpu info collection, blacklist loading, and blacklist auto-update | |
| 446 // scheduling at browser startup time. | |
| 447 // Therefore, all GPU features are avalable, and about:gpu page shows empty | |
|
Ken Russell (switch to Gerrit)
2011/10/26 18:01:24
typo: available
| |
| 448 // content. The switch is intended only for tests. | |
| 449 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | |
| 450 | |
| 445 // Use SQLite as back-end for Indexed Database API. | 451 // Use SQLite as back-end for Indexed Database API. |
| 446 // Used for debugging differences between the LevelDB and SQLite back-end. | 452 // Used for debugging differences between the LevelDB and SQLite back-end. |
| 447 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; | 453 const char kSQLiteIndexedDatabase[] = "indexeddb-use-sqlite"; |
| 448 | 454 |
| 449 // Runs the security test for the renderer sandbox. | 455 // Runs the security test for the renderer sandbox. |
| 450 const char kTestSandbox[] = "test-sandbox"; | 456 const char kTestSandbox[] = "test-sandbox"; |
| 451 | 457 |
| 452 // A string used to override the default user agent with a custom one. | 458 // A string used to override the default user agent with a custom one. |
| 453 const char kUserAgent[] = "user-agent"; | 459 const char kUserAgent[] = "user-agent"; |
| 454 | 460 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 499 // instead of NSS for SSL. | 505 // instead of NSS for SSL. |
| 500 const char kUseSystemSSL[] = "use-system-ssl"; | 506 const char kUseSystemSSL[] = "use-system-ssl"; |
| 501 #endif | 507 #endif |
| 502 | 508 |
| 503 #if !defined(OFFICIAL_BUILD) | 509 #if !defined(OFFICIAL_BUILD) |
| 504 // Causes the renderer process to throw an assertion on launch. | 510 // Causes the renderer process to throw an assertion on launch. |
| 505 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 511 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
| 506 #endif | 512 #endif |
| 507 | 513 |
| 508 } // namespace switches | 514 } // namespace switches |
| OLD | NEW |