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 | 10 |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1240 // Requests that Chrome launch the Metro viewer process via the given appid | 1240 // Requests that Chrome launch the Metro viewer process via the given appid |
1241 // (which is assumed to be registered as default browser) and synchronously | 1241 // (which is assumed to be registered as default browser) and synchronously |
1242 // connect to it. | 1242 // connect to it. |
1243 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; | 1243 const char kViewerLaunchViaAppId[] = "viewer-launch-via-appid"; |
1244 | 1244 |
1245 // Causes the process to run as a watcher process. | 1245 // Causes the process to run as a watcher process. |
1246 const char kWatcherProcess[] = "watcher"; | 1246 const char kWatcherProcess[] = "watcher"; |
1247 | 1247 |
1248 // Indicates that chrome was launched to service a search request in Windows 8. | 1248 // Indicates that chrome was launched to service a search request in Windows 8. |
1249 const char kWindows8Search[] = "windows8-search"; | 1249 const char kWindows8Search[] = "windows8-search"; |
| 1250 |
| 1251 // Disables per monitor DPI for supported Windows versions. |
| 1252 // This flag overrides kEnablePerMonitorDpi. |
| 1253 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi"; |
| 1254 |
| 1255 // Enables per monitor DPI for supported Windows versions. |
| 1256 const char kEnablePerMonitorDpi[] = "enable-per-monitor-dpi"; |
| 1257 |
1250 #endif // defined(OS_WIN) | 1258 #endif // defined(OS_WIN) |
1251 | 1259 |
1252 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 1260 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
1253 // Enables support to debug printing subsystem. | 1261 // Enables support to debug printing subsystem. |
1254 const char kDebugPrint[] = "debug-print"; | 1262 const char kDebugPrint[] = "debug-print"; |
1255 #endif | 1263 #endif |
1256 | 1264 |
1257 #if defined(ENABLE_WAYLAND_SERVER) | 1265 #if defined(ENABLE_WAYLAND_SERVER) |
1258 // Enables Wayland display server support. | 1266 // Enables Wayland display server support. |
1259 const char kEnableWaylandServer[] = "enable-wayland-server"; | 1267 const char kEnableWaylandServer[] = "enable-wayland-server"; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 | 1347 |
1340 // ----------------------------------------------------------------------------- | 1348 // ----------------------------------------------------------------------------- |
1341 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1349 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1342 // | 1350 // |
1343 // You were going to just dump your switches here, weren't you? Instead, please | 1351 // You were going to just dump your switches here, weren't you? Instead, please |
1344 // put them in alphabetical order above, or in order inside the appropriate | 1352 // put them in alphabetical order above, or in order inside the appropriate |
1345 // ifdef at the bottom. The order should match the header. | 1353 // ifdef at the bottom. The order should match the header. |
1346 // ----------------------------------------------------------------------------- | 1354 // ----------------------------------------------------------------------------- |
1347 | 1355 |
1348 } // namespace switches | 1356 } // namespace switches |
OLD | NEW |