| 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 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This | 30 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This |
| 31 // flag can reduce the security of the sandboxed processes and allow them to do | 31 // flag can reduce the security of the sandboxed processes and allow them to do |
| 32 // certain API calls like shut down Windows or access the clipboard. Also we | 32 // certain API calls like shut down Windows or access the clipboard. Also we |
| 33 // lose the chance to kill some processes until the outer job that owns them | 33 // lose the chance to kill some processes until the outer job that owns them |
| 34 // finishes. | 34 // finishes. |
| 35 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; | 35 const char kAllowNoSandboxJob[] = "allow-no-sandbox-job"; |
| 36 | 36 |
| 37 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). | 37 // Allows debugging of sandboxed processes (see zygote_main_linux.cc). |
| 38 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; | 38 const char kAllowSandboxDebugging[] = "allow-sandbox-debugging"; |
| 39 | 39 |
| 40 // Uses the android SkFontManager on linux. The specified directory should |
| 41 // include the configuration xml file with the name "fonts.xml". |
| 42 // This is used in blimp to emulate android fonts on linux. |
| 43 const char kAndroidFontsPath[] = "android-fonts-path"; |
| 44 |
| 40 // Choose which logging channels in blink platform to activate. See | 45 // Choose which logging channels in blink platform to activate. See |
| 41 // Logging.cpp in blink's Source/platform for a list of available channels. | 46 // Logging.cpp in blink's Source/platform for a list of available channels. |
| 42 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; | 47 const char kBlinkPlatformLogChannels[] = "blink-platform-log-channels"; |
| 43 | 48 |
| 44 // Set blink settings. Format is <name>[=<value],<name>[=<value>],... | 49 // Set blink settings. Format is <name>[=<value],<name>[=<value>],... |
| 45 // The names are declared in Settings.in. For boolean type, use "true", "false", | 50 // The names are declared in Settings.in. For boolean type, use "true", "false", |
| 46 // or omit '=<value>' part to set to true. For enum type, use the int value of | 51 // or omit '=<value>' part to set to true. For enum type, use the int value of |
| 47 // the enum value. Applied after other command line flags and prefs. | 52 // the enum value. Applied after other command line flags and prefs. |
| 48 const char kBlinkSettings[] = "blink-settings"; | 53 const char kBlinkSettings[] = "blink-settings"; |
| 49 | 54 |
| (...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1050 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1046 | 1051 |
| 1047 // Enables the exporting of the tracing events to ETW. This is only supported on | 1052 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1048 // Windows Vista and later. | 1053 // Windows Vista and later. |
| 1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1054 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1050 #endif | 1055 #endif |
| 1051 | 1056 |
| 1052 // Don't dump stuff here, follow the same order as the header. | 1057 // Don't dump stuff here, follow the same order as the header. |
| 1053 | 1058 |
| 1054 } // namespace switches | 1059 } // namespace switches |
| OLD | NEW |