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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 #if defined(OS_WIN) || defined(OS_LINUX) | 1115 #if defined(OS_WIN) || defined(OS_LINUX) |
1116 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; | 1116 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; |
1117 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; | 1117 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; |
1118 #endif | 1118 #endif |
1119 | 1119 |
1120 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ | 1120 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
1121 defined(OS_WIN) | 1121 defined(OS_WIN) |
1122 extern const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon"; | 1122 extern const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon"; |
1123 #endif | 1123 #endif |
1124 | 1124 |
| 1125 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
| 1126 // Uses the system default printer as the initially selected destination in |
| 1127 // print preview, instead of the most recently used destination. |
| 1128 const char kUseSystemDefaultPrinter[] = "use-system-default-printer"; |
| 1129 #endif |
| 1130 |
1125 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) | 1131 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) |
1126 // Enables the out-of-process memory logging. | 1132 // Enables the out-of-process memory logging. |
1127 const char kMemlog[] = "memlog"; | 1133 const char kMemlog[] = "memlog"; |
1128 | 1134 |
1129 // Communicates the pipe name for out-of-process memory logging. | 1135 // Communicates the pipe name for out-of-process memory logging. |
1130 const char kMemlogPipe[] = "memlog-pipe"; | 1136 const char kMemlogPipe[] = "memlog-pipe"; |
1131 #endif | 1137 #endif |
1132 | 1138 |
1133 bool ExtensionsDisabled(const base::CommandLine& command_line) { | 1139 bool ExtensionsDisabled(const base::CommandLine& command_line) { |
1134 return command_line.HasSwitch(switches::kDisableExtensions) || | 1140 return command_line.HasSwitch(switches::kDisableExtensions) || |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 | 1174 |
1169 // ----------------------------------------------------------------------------- | 1175 // ----------------------------------------------------------------------------- |
1170 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1176 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1171 // | 1177 // |
1172 // You were going to just dump your switches here, weren't you? Instead, please | 1178 // You were going to just dump your switches here, weren't you? Instead, please |
1173 // put them in alphabetical order above, or in order inside the appropriate | 1179 // put them in alphabetical order above, or in order inside the appropriate |
1174 // ifdef at the bottom. The order should match the header. | 1180 // ifdef at the bottom. The order should match the header. |
1175 // ----------------------------------------------------------------------------- | 1181 // ----------------------------------------------------------------------------- |
1176 | 1182 |
1177 } // namespace switches | 1183 } // namespace switches |
OLD | NEW |