| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 const char kRootLayerScrolls[] = "root-layer-scrolls"; | 784 const char kRootLayerScrolls[] = "root-layer-scrolls"; |
| 785 | 785 |
| 786 // Causes the process to run as a sandbox IPC subprocess. | 786 // Causes the process to run as a sandbox IPC subprocess. |
| 787 const char kSandboxIPCProcess[] = "sandbox-ipc"; | 787 const char kSandboxIPCProcess[] = "sandbox-ipc"; |
| 788 | 788 |
| 789 // Enables or disables scroll end effect in response to vertical overscroll. | 789 // Enables or disables scroll end effect in response to vertical overscroll. |
| 790 // Set the value to '1' to enable the feature, and set to '0' to disable. | 790 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 791 // Defaults to disabled. | 791 // Defaults to disabled. |
| 792 const char kScrollEndEffect[] = "scroll-end-effect"; | 792 const char kScrollEndEffect[] = "scroll-end-effect"; |
| 793 | 793 |
| 794 // Describes the file descriptors passed to the child process. List: | |
| 795 // <file id from manifest>:<global descriptor id>,<file id string from manifest> | |
| 796 // :<global descriptor id>,... | |
| 797 const char kSharedFiles[] = "shared-files"; | |
| 798 | |
| 799 // Visibly render a border around paint rects in the web page to help debug | 794 // Visibly render a border around paint rects in the web page to help debug |
| 800 // and study painting behavior. | 795 // and study painting behavior. |
| 801 const char kShowPaintRects[] = "show-paint-rects"; | 796 const char kShowPaintRects[] = "show-paint-rects"; |
| 802 | 797 |
| 803 // Runs the renderer and plugins in the same process as the browser | 798 // Runs the renderer and plugins in the same process as the browser |
| 804 const char kSingleProcess[] = "single-process"; | 799 const char kSingleProcess[] = "single-process"; |
| 805 | 800 |
| 806 // Enforces a one-site-per-process security policy: | 801 // Enforces a one-site-per-process security policy: |
| 807 // * Each renderer process, for its whole lifetime, is dedicated to rendering | 802 // * Each renderer process, for its whole lifetime, is dedicated to rendering |
| 808 // pages for just one site. | 803 // pages for just one site. |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1084 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1090 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1085 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1091 | 1086 |
| 1092 // Specifies the testcase used by the IPC fuzzer. | 1087 // Specifies the testcase used by the IPC fuzzer. |
| 1093 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1088 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1094 #endif | 1089 #endif |
| 1095 | 1090 |
| 1096 // Don't dump stuff here, follow the same order as the header. | 1091 // Don't dump stuff here, follow the same order as the header. |
| 1097 | 1092 |
| 1098 } // namespace switches | 1093 } // namespace switches |
| OLD | NEW |