| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 // Use mock keychain for testing purposes, which prevents blocking dialogs from | 1185 // Use mock keychain for testing purposes, which prevents blocking dialogs from |
| 1186 // causing timeouts. | 1186 // causing timeouts. |
| 1187 const char kUseMockKeychain[] = "use-mock-keychain"; | 1187 const char kUseMockKeychain[] = "use-mock-keychain"; |
| 1188 #endif | 1188 #endif |
| 1189 | 1189 |
| 1190 #if !defined(OS_MACOSX) | 1190 #if !defined(OS_MACOSX) |
| 1191 // Enable Kiosk mode. | 1191 // Enable Kiosk mode. |
| 1192 const char kKioskMode[] = "kiosk"; | 1192 const char kKioskMode[] = "kiosk"; |
| 1193 #endif | 1193 #endif |
| 1194 | 1194 |
| 1195 #if defined(TOOLKIT_GTK) | |
| 1196 // Enables the global bookmark menu in our global menu bar on Ubuntu | |
| 1197 // Natty. This is disabled because of issues where dbus will hang for over a | |
| 1198 // minute because it doesn't like it when we thrown hundreds of kilobytes (or | |
| 1199 // even megabytes) of favicon data at it. | |
| 1200 const char kEnableGlobalBookmarkMenu[] = "enable-global-bookmark-menu"; | |
| 1201 #endif | |
| 1202 | |
| 1203 #if defined(TOOLKIT_VIEWS) | 1195 #if defined(TOOLKIT_VIEWS) |
| 1204 // Enables debug paint in views framework. Enabling this causes the damaged | 1196 // Enables debug paint in views framework. Enabling this causes the damaged |
| 1205 // region being painted to flash in red. | 1197 // region being painted to flash in red. |
| 1206 const char kDebugViewsPaint[] = "debug-views-paint"; | 1198 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1207 | 1199 |
| 1208 // Runs Chrome inside the views desktop shell. | 1200 // Runs Chrome inside the views desktop shell. |
| 1209 const char kViewsDesktop[] = "views-desktop"; | 1201 const char kViewsDesktop[] = "views-desktop"; |
| 1210 #endif | 1202 #endif |
| 1211 | 1203 |
| 1212 #if defined(TOUCH_UI) | 1204 #if defined(TOUCH_UI) |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1267 | 1259 |
| 1268 // ----------------------------------------------------------------------------- | 1260 // ----------------------------------------------------------------------------- |
| 1269 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1261 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1270 // | 1262 // |
| 1271 // You were going to just dump your switches here, weren't you? Instead, | 1263 // You were going to just dump your switches here, weren't you? Instead, |
| 1272 // please put them in alphabetical order above, or in order inside the | 1264 // please put them in alphabetical order above, or in order inside the |
| 1273 // appropriate ifdef at the bottom. The order should match the header. | 1265 // appropriate ifdef at the bottom. The order should match the header. |
| 1274 // ----------------------------------------------------------------------------- | 1266 // ----------------------------------------------------------------------------- |
| 1275 | 1267 |
| 1276 } // namespace switches | 1268 } // namespace switches |
| OLD | NEW |