| 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 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1281 | 1281 |
| 1282 #if !defined(OS_MACOSX) | 1282 #if !defined(OS_MACOSX) |
| 1283 // Enables Kiosk mode. | 1283 // Enables Kiosk mode. |
| 1284 const char kKioskMode[] = "kiosk"; | 1284 const char kKioskMode[] = "kiosk"; |
| 1285 | 1285 |
| 1286 // Print automatically in kiosk mode. |kKioskMode| must be set as well. | 1286 // Print automatically in kiosk mode. |kKioskMode| must be set as well. |
| 1287 // See http://crbug.com/31395. | 1287 // See http://crbug.com/31395. |
| 1288 const char kKioskModePrinting[] = "kiosk-printing"; | 1288 const char kKioskModePrinting[] = "kiosk-printing"; |
| 1289 #endif | 1289 #endif |
| 1290 | 1290 |
| 1291 #if defined(OS_WIN) |
| 1292 // Disables profile desktop shortcuts handling, preventing their creation, |
| 1293 // modification or removal. |
| 1294 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; |
| 1295 #endif |
| 1296 |
| 1291 #if defined(TOOLKIT_VIEWS) | 1297 #if defined(TOOLKIT_VIEWS) |
| 1292 // Enables debug paint in views framework. Enabling this causes the damaged | 1298 // Enables debug paint in views framework. Enabling this causes the damaged |
| 1293 // region being painted to flash in red. | 1299 // region being painted to flash in red. |
| 1294 const char kDebugViewsPaint[] = "debug-views-paint"; | 1300 const char kDebugViewsPaint[] = "debug-views-paint"; |
| 1295 | 1301 |
| 1296 // Tells chrome to interpret events from these devices as touch events. Only | 1302 // Tells chrome to interpret events from these devices as touch events. Only |
| 1297 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 1303 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
| 1298 // devices can be retrieved from 'xinput list'. | 1304 // devices can be retrieved from 'xinput list'. |
| 1299 const char kTouchDevices[] = "touch-devices"; | 1305 const char kTouchDevices[] = "touch-devices"; |
| 1300 #endif | 1306 #endif |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 | 1339 |
| 1334 // ----------------------------------------------------------------------------- | 1340 // ----------------------------------------------------------------------------- |
| 1335 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1341 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1336 // | 1342 // |
| 1337 // You were going to just dump your switches here, weren't you? Instead, please | 1343 // You were going to just dump your switches here, weren't you? Instead, please |
| 1338 // put them in alphabetical order above, or in order inside the appropriate | 1344 // put them in alphabetical order above, or in order inside the appropriate |
| 1339 // ifdef at the bottom. The order should match the header. | 1345 // ifdef at the bottom. The order should match the header. |
| 1340 // ----------------------------------------------------------------------------- | 1346 // ----------------------------------------------------------------------------- |
| 1341 | 1347 |
| 1342 } // namespace switches | 1348 } // namespace switches |
| OLD | NEW |