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 1345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1356 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; | 1356 const char kDisableDesktopShortcuts[] = "disable-desktop-shortcuts"; |
1357 #endif | 1357 #endif |
1358 | 1358 |
1359 #if defined(TOOLKIT_VIEWS) | 1359 #if defined(TOOLKIT_VIEWS) |
1360 // Tells chrome to interpret events from these devices as touch events. Only | 1360 // Tells chrome to interpret events from these devices as touch events. Only |
1361 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 1361 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
1362 // devices can be retrieved from 'xinput list'. | 1362 // devices can be retrieved from 'xinput list'. |
1363 const char kTouchDevices[] = "touch-devices"; | 1363 const char kTouchDevices[] = "touch-devices"; |
1364 #endif | 1364 #endif |
1365 | 1365 |
| 1366 #if defined(USE_AURA) |
| 1367 // Use TabContentsViewAura instead of the default implementation. |
| 1368 const char kEnableTCVA[] = "enable-tcva"; |
| 1369 #endif |
| 1370 |
1366 #ifndef NDEBUG | 1371 #ifndef NDEBUG |
1367 // Enables overriding the path of file manager extension. | 1372 // Enables overriding the path of file manager extension. |
1368 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; | 1373 const char kFileManagerExtensionPath[] = "filemgr-ext-path"; |
1369 | 1374 |
1370 // Dumps dependency information about our profile services into a dot file in | 1375 // Dumps dependency information about our profile services into a dot file in |
1371 // the profile directory. | 1376 // the profile directory. |
1372 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; | 1377 const char kDumpProfileDependencyGraph[] = "dump-profile-graph"; |
1373 #endif // NDEBUG | 1378 #endif // NDEBUG |
1374 | 1379 |
1375 // Controls print preview in the browser process. | 1380 // Controls print preview in the browser process. |
1376 #if defined(GOOGLE_CHROME_BUILD) | 1381 #if defined(GOOGLE_CHROME_BUILD) |
1377 // Disables print preview (For testing, and for users who don't like us. :[ ) | 1382 // Disables print preview (For testing, and for users who don't like us. :[ ) |
1378 const char kDisablePrintPreview[] = "disable-print-preview"; | 1383 const char kDisablePrintPreview[] = "disable-print-preview"; |
1379 #else | 1384 #else |
1380 // Enables print preview (Force enable on Chromium, which normally does not | 1385 // Enables print preview (Force enable on Chromium, which normally does not |
1381 // have the PDF viewer required for print preview.) | 1386 // have the PDF viewer required for print preview.) |
1382 const char kEnablePrintPreview[] = "enable-print-preview"; | 1387 const char kEnablePrintPreview[] = "enable-print-preview"; |
1383 #endif | 1388 #endif |
1384 | 1389 |
1385 // ----------------------------------------------------------------------------- | 1390 // ----------------------------------------------------------------------------- |
1386 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1391 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1387 // | 1392 // |
1388 // You were going to just dump your switches here, weren't you? Instead, please | 1393 // You were going to just dump your switches here, weren't you? Instead, please |
1389 // put them in alphabetical order above, or in order inside the appropriate | 1394 // put them in alphabetical order above, or in order inside the appropriate |
1390 // ifdef at the bottom. The order should match the header. | 1395 // ifdef at the bottom. The order should match the header. |
1391 // ----------------------------------------------------------------------------- | 1396 // ----------------------------------------------------------------------------- |
1392 | 1397 |
1393 } // namespace switches | 1398 } // namespace switches |
OLD | NEW |