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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 | 562 |
563 // Allows shmat() system call in the GPU sandbox. | 563 // Allows shmat() system call in the GPU sandbox. |
564 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; | 564 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; |
565 | 565 |
566 // Makes GPU sandbox failures fatal. | 566 // Makes GPU sandbox failures fatal. |
567 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; | 567 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; |
568 | 568 |
569 // Causes the GPU process to display a dialog on launch. | 569 // Causes the GPU process to display a dialog on launch. |
570 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 570 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
571 | 571 |
572 // Ignores certificate-related errors. | |
573 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | |
574 | |
575 // Don't allow content to arbitrarily append to the back/forward list. | 572 // Don't allow content to arbitrarily append to the back/forward list. |
576 // The page must prcoess a user gesture before an entry can be added. | 573 // The page must prcoess a user gesture before an entry can be added. |
577 const char kHistoryEntryRequiresUserGesture[] = | 574 const char kHistoryEntryRequiresUserGesture[] = |
578 "history-entry-requires-user-gesture"; | 575 "history-entry-requires-user-gesture"; |
579 | 576 |
580 // These mappings only apply to the host resolver. | 577 // These mappings only apply to the host resolver. |
581 const char kHostResolverRules[] = "host-resolver-rules"; | 578 const char kHostResolverRules[] = "host-resolver-rules"; |
582 | 579 |
583 // Makes all APIs reflect the layout viewport. | 580 // Makes all APIs reflect the layout viewport. |
584 const char kInertVisualViewport[] = "inert-visual-viewport"; | 581 const char kInertVisualViewport[] = "inert-visual-viewport"; |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 // had pressed F11 right after startup. | 827 // had pressed F11 right after startup. |
831 const char kStartFullscreen[] = "start-fullscreen"; | 828 const char kStartFullscreen[] = "start-fullscreen"; |
832 | 829 |
833 // Specifies if the |StatsCollectionController| needs to be bound in the | 830 // Specifies if the |StatsCollectionController| needs to be bound in the |
834 // renderer. This binding happens on per-frame basis and hence can potentially | 831 // renderer. This binding happens on per-frame basis and hence can potentially |
835 // be a performance bottleneck. One should only enable it when running a test | 832 // be a performance bottleneck. One should only enable it when running a test |
836 // that needs to access the provided statistics. | 833 // that needs to access the provided statistics. |
837 const char kStatsCollectionController[] = | 834 const char kStatsCollectionController[] = |
838 "enable-stats-collection-bindings"; | 835 "enable-stats-collection-bindings"; |
839 | 836 |
840 // Allows for forcing socket connections to http/https to use fixed ports. | |
841 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | |
842 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | |
843 | |
844 // Type of the current test harness ("browser" or "ui"). | 837 // Type of the current test harness ("browser" or "ui"). |
845 const char kTestType[] = "test-type"; | 838 const char kTestType[] = "test-type"; |
846 | 839 |
847 // Enable support for touch event feature detection. | 840 // Enable support for touch event feature detection. |
848 const char kTouchEventFeatureDetection[] = "touch-events"; | 841 const char kTouchEventFeatureDetection[] = "touch-events"; |
849 | 842 |
850 // The values the kTouchEventFeatureDetection switch may have, as in | 843 // The values the kTouchEventFeatureDetection switch may have, as in |
851 // --touch-events=disabled. | 844 // --touch-events=disabled. |
852 // auto: enabled at startup when an attached touchscreen is present. | 845 // auto: enabled at startup when an attached touchscreen is present. |
853 const char kTouchEventFeatureDetectionAuto[] = "auto"; | 846 const char kTouchEventFeatureDetectionAuto[] = "auto"; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1075 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1068 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1076 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1069 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1077 | 1070 |
1078 // Specifies the testcase used by the IPC fuzzer. | 1071 // Specifies the testcase used by the IPC fuzzer. |
1079 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1072 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1080 #endif | 1073 #endif |
1081 | 1074 |
1082 // Don't dump stuff here, follow the same order as the header. | 1075 // Don't dump stuff here, follow the same order as the header. |
1083 | 1076 |
1084 } // namespace switches | 1077 } // namespace switches |
OLD | NEW |