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

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

Issue 2114583002: Windows: Make it possible to print text with GDI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again, resolve conflicts Created 4 years, 4 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') | chrome/common/chrome_utility_printing_messages.h » ('j') | 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 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 const char kRelauncherProcess[] = "relauncher"; 1191 const char kRelauncherProcess[] = "relauncher";
1192 1192
1193 // When switches::kProcessType is switches::kRelauncherProcess, if this switch 1193 // When switches::kProcessType is switches::kRelauncherProcess, if this switch
1194 // is also present, the relauncher process will unmount and eject a mounted disk 1194 // is also present, the relauncher process will unmount and eject a mounted disk
1195 // image and move its disk image file to the trash. The argument's value must 1195 // image and move its disk image file to the trash. The argument's value must
1196 // be a BSD device name of the form "diskN" or "diskNsM". 1196 // be a BSD device name of the form "diskN" or "diskNsM".
1197 const char kRelauncherProcessDMGDevice[] = "dmg-device"; 1197 const char kRelauncherProcessDMGDevice[] = "dmg-device";
1198 #endif // defined(OS_MACOSX) 1198 #endif // defined(OS_MACOSX)
1199 1199
1200 #if defined(OS_WIN) 1200 #if defined(OS_WIN)
1201 // Disables using GDI to print text as simply text. Fallback to printing text
1202 // as paths.
1203 const char kDisableGDITextPrinting[] = "disable-gdi-text-printing";
1204
1201 // Disables per monitor DPI for supported Windows versions. 1205 // Disables per monitor DPI for supported Windows versions.
1202 // This flag overrides kEnablePerMonitorDpi. 1206 // This flag overrides kEnablePerMonitorDpi.
1203 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi"; 1207 const char kDisablePerMonitorDpi[] = "disable-per-monitor-dpi";
1204 1208
1205 // Fallback to XPS. By default connector uses CDD. 1209 // Fallback to XPS. By default connector uses CDD.
1206 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps"; 1210 const char kEnableCloudPrintXps[] = "enable-cloud-print-xps";
1207 1211
1208 // Enables per monitor DPI for supported Windows versions. 1212 // Enables per monitor DPI for supported Windows versions.
1209 const char kEnablePerMonitorDpi[] = "enable-per-monitor-dpi"; 1213 const char kEnablePerMonitorDpi[] = "enable-per-monitor-dpi";
1210 1214
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 1320
1317 // ----------------------------------------------------------------------------- 1321 // -----------------------------------------------------------------------------
1318 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1322 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1319 // 1323 //
1320 // You were going to just dump your switches here, weren't you? Instead, please 1324 // You were going to just dump your switches here, weren't you? Instead, please
1321 // put them in alphabetical order above, or in order inside the appropriate 1325 // put them in alphabetical order above, or in order inside the appropriate
1322 // ifdef at the bottom. The order should match the header. 1326 // ifdef at the bottom. The order should match the header.
1323 // ----------------------------------------------------------------------------- 1327 // -----------------------------------------------------------------------------
1324 1328
1325 } // namespace switches 1329 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/chrome_utility_printing_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698