| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 // Set logging output to the given file. | 1067 // Set logging output to the given file. |
| 1068 const char kChromeosLogToFile[] = "logtofile"; | 1068 const char kChromeosLogToFile[] = "logtofile"; |
| 1069 | 1069 |
| 1070 // Indicates that the browser is in "browse without sign-in" mode. | 1070 // Indicates that the browser is in "browse without sign-in" mode. |
| 1071 // Should completely disable extensions, sync and bookmarks. | 1071 // Should completely disable extensions, sync and bookmarks. |
| 1072 const char kBWSI[] = "bwsi"; | 1072 const char kBWSI[] = "bwsi"; |
| 1073 | 1073 |
| 1074 // Indicates that stub implementations of the libcros library should be used. | 1074 // Indicates that stub implementations of the libcros library should be used. |
| 1075 // This is typically used to test the chromeos build of chrome on the desktop. | 1075 // This is typically used to test the chromeos build of chrome on the desktop. |
| 1076 const char kStubCros[] = "stub-cros"; | 1076 const char kStubCros[] = "stub-cros"; |
| 1077 |
| 1078 // Disables bookmarks in the browser for BWSI mode. |
| 1079 const char kDisableBookmarks[] = "disable-bookmarks"; |
| 1077 #endif | 1080 #endif |
| 1078 | 1081 |
| 1079 #if defined(OS_LINUX) | 1082 #if defined(OS_LINUX) |
| 1080 // Specify the amount the trackpad should scroll by. | 1083 // Specify the amount the trackpad should scroll by. |
| 1081 const char kScrollPixels[] = "scroll-pixels"; | 1084 const char kScrollPixels[] = "scroll-pixels"; |
| 1082 #endif | 1085 #endif |
| 1083 | 1086 |
| 1084 #if defined(OS_MACOSX) || defined(OS_WIN) | 1087 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 1085 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) | 1088 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) |
| 1086 // instead of NSS for SSL. | 1089 // instead of NSS for SSL. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1163 | 1166 |
| 1164 // ----------------------------------------------------------------------------- | 1167 // ----------------------------------------------------------------------------- |
| 1165 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1168 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1166 // | 1169 // |
| 1167 // You were going to just dump your switches here, weren't you? Instead, | 1170 // You were going to just dump your switches here, weren't you? Instead, |
| 1168 // please put them in alphabetical order above, or in order inside the | 1171 // please put them in alphabetical order above, or in order inside the |
| 1169 // appropriate ifdef at the bottom. The order should match the header. | 1172 // appropriate ifdef at the bottom. The order should match the header. |
| 1170 // ----------------------------------------------------------------------------- | 1173 // ----------------------------------------------------------------------------- |
| 1171 | 1174 |
| 1172 } // namespace switches | 1175 } // namespace switches |
| OLD | NEW |