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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Merge Created 3 years, 10 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/app/generated_resources.grd ('k') | chrome/browser/printing/pdf_to_emf_converter.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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2203 matching lines...) Expand 10 before | Expand all | Expand 10 after
2214 FEATURE_VALUE_TYPE(features::kLsdPermissionPrompt)}, 2214 FEATURE_VALUE_TYPE(features::kLsdPermissionPrompt)},
2215 #endif 2215 #endif
2216 2216
2217 #if defined(OS_CHROMEOS) 2217 #if defined(OS_CHROMEOS)
2218 {"enable-touchscreen-calibration", IDS_FLAGS_TOUCHSCREEN_CALIBRATION_NAME, 2218 {"enable-touchscreen-calibration", IDS_FLAGS_TOUCHSCREEN_CALIBRATION_NAME,
2219 IDS_FLAGS_TOUCHSCREEN_CALIBRATION_DESCRIPTION, kOsCrOS, 2219 IDS_FLAGS_TOUCHSCREEN_CALIBRATION_DESCRIPTION, kOsCrOS,
2220 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, 2220 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)},
2221 #endif // defined(OS_CHROMEOS) 2221 #endif // defined(OS_CHROMEOS)
2222 2222
2223 #if defined(OS_WIN) 2223 #if defined(OS_WIN)
2224 {"gdi-text-printing", IDS_FLAGS_GDI_TEXT_PRINTING, 2224 {"gdi-text-printing", IDS_FLAGS_GDI_TEXT_PRINTING,
2225 IDS_FLAGS_GDI_TEXT_PRINTING_DESCRIPTION, kOsWin, 2225 IDS_FLAGS_GDI_TEXT_PRINTING_DESCRIPTION, kOsWin,
2226 FEATURE_VALUE_TYPE(features::kGdiTextPrinting)} 2226 FEATURE_VALUE_TYPE(features::kGdiTextPrinting)},
2227 #endif 2227 {"postscript-printing", IDS_FLAGS_POSTSCRIPT_PRINTING,
2228 IDS_FLAGS_POSTSCRIPT_PRINTING_DESCRIPTION, kOsWin,
2229 FEATURE_VALUE_TYPE(features::kPostScriptPrinting)},
2230 #endif // defined(OS_WIN)
2228 2231
2229 #if defined(OS_CHROMEOS) 2232 #if defined(OS_CHROMEOS)
2230 {"show-arc-files-app", IDS_FLAGS_SHOW_ARC_FILES_APP_NAME, 2233 {"show-arc-files-app", IDS_FLAGS_SHOW_ARC_FILES_APP_NAME,
2231 IDS_FLAGS_SHOW_ARC_FILES_APP_DESCRIPTION, kOsCrOS, 2234 IDS_FLAGS_SHOW_ARC_FILES_APP_DESCRIPTION, kOsCrOS,
2232 FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)}, 2235 FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)},
2233 #endif // defined(OS_CHROMEOS) 2236 #endif // defined(OS_CHROMEOS)
2234 2237
2235 // NOTE: Adding new command-line switches requires adding corresponding 2238 // NOTE: Adding new command-line switches requires adding corresponding
2236 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2239 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2237 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2240 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
2433 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2436 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2434 2437
2435 const FeatureEntry* GetFeatureEntries(size_t* count) { 2438 const FeatureEntry* GetFeatureEntries(size_t* count) {
2436 *count = arraysize(kFeatureEntries); 2439 *count = arraysize(kFeatureEntries);
2437 return kFeatureEntries; 2440 return kFeatureEntries;
2438 } 2441 }
2439 2442
2440 } // namespace testing 2443 } // namespace testing
2441 2444
2442 } // namespace about_flags 2445 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/printing/pdf_to_emf_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698