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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 | 632 |
633 // Will add kWaitForDebugger to every child processes. If a value is passed, it | 633 // Will add kWaitForDebugger to every child processes. If a value is passed, it |
634 // will be used as a filter to determine if the child process should have the | 634 // will be used as a filter to determine if the child process should have the |
635 // kWaitForDebugger flag passed on or not. | 635 // kWaitForDebugger flag passed on or not. |
636 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; | 636 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; |
637 | 637 |
638 // Choose which logging channels in WebCore to activate. See | 638 // Choose which logging channels in WebCore to activate. See |
639 // Logging.cpp in WebKit's WebCore for a list of available channels. | 639 // Logging.cpp in WebKit's WebCore for a list of available channels. |
640 const char kWebCoreLogChannels[] = "webcore-log-channels"; | 640 const char kWebCoreLogChannels[] = "webcore-log-channels"; |
641 | 641 |
642 // Causes the worker process allocation to use as many processes as cores. | |
643 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; | |
644 | |
645 // Causes workers to run together in one process, depending on their domains. | |
646 // Note this is duplicated in webworkerclient_impl.cc | |
647 const char kWebWorkerShareProcesses[] = "web-worker-share-processes"; | |
648 | |
649 // Causes the process to run as a worker subprocess. | 642 // Causes the process to run as a worker subprocess. |
650 const char kWorkerProcess[] = "worker"; | 643 const char kWorkerProcess[] = "worker"; |
651 | 644 |
652 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 645 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
653 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 646 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
654 | 647 |
655 // Causes the process to run as a renderer zygote. | 648 // Causes the process to run as a renderer zygote. |
656 const char kZygoteProcess[] = "zygote"; | 649 const char kZygoteProcess[] = "zygote"; |
657 | 650 |
658 // Enables moving cursor by word in visual order. | 651 // Enables moving cursor by word in visual order. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 // Sets the width and height above which a composited layer will get tiled. | 705 // Sets the width and height above which a composited layer will get tiled. |
713 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 706 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
714 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 707 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
715 | 708 |
716 const char kEnableFixedPositionCreatesStackingContext[] | 709 const char kEnableFixedPositionCreatesStackingContext[] |
717 = "enable-fixed-position-creates-stacking-context"; | 710 = "enable-fixed-position-creates-stacking-context"; |
718 const char kDisableFixedPositionCreatesStackingContext[] | 711 const char kDisableFixedPositionCreatesStackingContext[] |
719 = "disable-fixed-position-creates-stacking-context"; | 712 = "disable-fixed-position-creates-stacking-context"; |
720 | 713 |
721 } // namespace switches | 714 } // namespace switches |
OLD | NEW |