OLD | NEW |
---|---|
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 "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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
457 | 457 |
458 // Runs plugins inside the renderer process | 458 // Runs plugins inside the renderer process |
459 const char kInProcessPlugins[] = "in-process-plugins"; | 459 const char kInProcessPlugins[] = "in-process-plugins"; |
460 | 460 |
461 // Runs WebGL inside the renderer process. | 461 // Runs WebGL inside the renderer process. |
462 const char kInProcessWebGL[] = "in-process-webgl"; | 462 const char kInProcessWebGL[] = "in-process-webgl"; |
463 | 463 |
464 // Specifies the flags passed to JS engine | 464 // Specifies the flags passed to JS engine |
465 const char kJavaScriptFlags[] = "js-flags"; | 465 const char kJavaScriptFlags[] = "js-flags"; |
466 | 466 |
467 // Specifies whether a forked browser process should always run BrowserMain. | |
468 const char kLaunchAsBrowser[] = "as-browser"; | |
Jói
2012/12/17 13:46:16
It feels a bit weird to promote this to a publicly
tapted
2012/12/18 02:25:58
I've put up an alternative that removes the change
| |
469 | |
467 // Load an NPAPI plugin from the specified path. | 470 // Load an NPAPI plugin from the specified path. |
468 const char kLoadPlugin[] = "load-plugin"; | 471 const char kLoadPlugin[] = "load-plugin"; |
469 | 472 |
470 // Sets the minimum log level. Valid values are from 0 to 3: | 473 // Sets the minimum log level. Valid values are from 0 to 3: |
471 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. | 474 // INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3. |
472 const char kLoggingLevel[] = "log-level"; | 475 const char kLoggingLevel[] = "log-level"; |
473 | 476 |
474 // Make plugin processes log their sent and received messages to VLOG(1). | 477 // Make plugin processes log their sent and received messages to VLOG(1). |
475 const char kLogPluginMessages[] = "log-plugin-messages"; | 478 const char kLogPluginMessages[] = "log-plugin-messages"; |
476 | 479 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
761 = "disable-fixed-position-creates-stacking-context"; | 764 = "disable-fixed-position-creates-stacking-context"; |
762 | 765 |
763 // Defer image decoding in WebKit until painting. | 766 // Defer image decoding in WebKit until painting. |
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 767 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
765 | 768 |
766 // Enables history navigation in response to horizontal overscroll. | 769 // Enables history navigation in response to horizontal overscroll. |
767 const char kEnableOverscrollHistoryNavigation[] = | 770 const char kEnableOverscrollHistoryNavigation[] = |
768 "enable-overscroll-history-navigation"; | 771 "enable-overscroll-history-navigation"; |
769 | 772 |
770 } // namespace switches | 773 } // namespace switches |
OLD | NEW |