Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2118953002: Add Per-Monitor DPI Switches for Windows 10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@framefix
Patch Set: CR Feedback Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 const char kRelauncherProcess[] = "relauncher"; 1199 const char kRelauncherProcess[] = "relauncher";
1200 1200
1201 // When switches::kProcessType is switches::kRelauncherProcess, if this switch 1201 // When switches::kProcessType is switches::kRelauncherProcess, if this switch
1202 // is also present, the relauncher process will unmount and eject a mounted disk 1202 // is also present, the relauncher process will unmount and eject a mounted disk
1203 // image and move its disk image file to the trash. The argument's value must 1203 // image and move its disk image file to the trash. The argument's value must
1204 // be a BSD device name of the form "diskN" or "diskNsM". 1204 // be a BSD device name of the form "diskN" or "diskNsM".
1205 const char kRelauncherProcessDMGDevice[] = "dmg-device"; 1205 const char kRelauncherProcessDMGDevice[] = "dmg-device";
1206 #endif // defined(OS_MACOSX) 1206 #endif // defined(OS_MACOSX)
1207 1207
1208 #if defined(OS_WIN) 1208 #if defined(OS_WIN)
1209 // Disables per monitor DPI for supported Windows versions.
1210 // This flag overrides kEnablePerMonitorDpi.
1211 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi";
1212
1209 // Fallback to XPS. By default connector uses CDD. 1213 // Fallback to XPS. By default connector uses CDD.
1210 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; 1214 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps";
1211 1215
1216 // Enables per monitor DPI for supported Windows versions.
1217 const char kEnablePerMonitorDpi[] = "enable-per-monitor-dpi";
1218
1212 // Force-enables the profile shortcut manager. This is needed for tests since 1219 // Force-enables the profile shortcut manager. This is needed for tests since
1213 // they use a custom-user-data-dir which disables this. 1220 // they use a custom-user-data-dir which disables this.
1214 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager"; 1221 const char kEnableProfileShortcutManager[] = "enable-profile-shortcut-manager";
1215 1222
1216 // Whether or not the browser should warn if the profile is on a network share. 1223 // Whether or not the browser should warn if the profile is on a network share.
1217 // This flag is only relevant for Windows currently. 1224 // This flag is only relevant for Windows currently.
1218 const char kNoNetworkProfileWarning[] = "no-network-profile-warning"; 1225 const char kNoNetworkProfileWarning[] = "no-network-profile-warning";
1219 1226
1220 // /prefetch:# arguments for the browser process launched in background mode and 1227 // /prefetch:# arguments for the browser process launched in background mode and
1221 // for the watcher process. Use profiles 5, 6 and 7 as documented on 1228 // for the watcher process. Use profiles 5, 6 and 7 as documented on
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 1346
1340 // ----------------------------------------------------------------------------- 1347 // -----------------------------------------------------------------------------
1341 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1348 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1342 // 1349 //
1343 // You were going to just dump your switches here, weren't you? Instead, please 1350 // 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 1351 // put them in alphabetical order above, or in order inside the appropriate
1345 // ifdef at the bottom. The order should match the header. 1352 // ifdef at the bottom. The order should match the header.
1346 // ----------------------------------------------------------------------------- 1353 // -----------------------------------------------------------------------------
1347 1354
1348 } // namespace switches 1355 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698