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

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

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: rebase Created 3 years, 8 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
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 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after
2110 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, 2110 chromeos::switches::kEnableExperimentalAccessibilityFeatures)},
2111 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName, 2111 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName,
2112 flag_descriptions::kEnableImeMenuDescription, kOsCrOS, 2112 flag_descriptions::kEnableImeMenuDescription, kOsCrOS,
2113 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, 2113 FEATURE_VALUE_TYPE(features::kOptInImeMenu)},
2114 {"disable-system-timezone-automatic-detection", 2114 {"disable-system-timezone-automatic-detection",
2115 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName, 2115 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName,
2116 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription, 2116 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription,
2117 kOsCrOS, 2117 kOsCrOS,
2118 SINGLE_VALUE_TYPE( 2118 SINGLE_VALUE_TYPE(
2119 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, 2119 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)},
2120 {"enable-native-cups", flag_descriptions::kEnableNativeCupsName, 2120 {"disable-native-cups", flag_descriptions::kDisableNativeCupsName,
2121 flag_descriptions::kEnableNativeCupsDescription, kOsCrOS, 2121 flag_descriptions::kDisableNativeCupsDescription, kOsCrOS,
2122 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, 2122 SINGLE_VALUE_TYPE(switches::kDisableNativeCups)},
2123 #endif // OS_CHROMEOS 2123 #endif // OS_CHROMEOS
2124 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) 2124 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD)
2125 {"enable-google-branded-context-menu", 2125 {"enable-google-branded-context-menu",
2126 flag_descriptions::kGoogleBrandedContextMenuName, 2126 flag_descriptions::kGoogleBrandedContextMenuName,
2127 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop, 2127 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop,
2128 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, 2128 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)},
2129 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD 2129 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD
2130 #if defined(OS_MACOSX) 2130 #if defined(OS_MACOSX)
2131 {"enable-fullscreen-in-tab-detaching", 2131 {"enable-fullscreen-in-tab-detaching",
2132 flag_descriptions::kTabDetachingInFullscreenName, 2132 flag_descriptions::kTabDetachingInFullscreenName,
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2717 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2718 2718
2719 const FeatureEntry* GetFeatureEntries(size_t* count) { 2719 const FeatureEntry* GetFeatureEntries(size_t* count) {
2720 *count = arraysize(kFeatureEntries); 2720 *count = arraysize(kFeatureEntries);
2721 return kFeatureEntries; 2721 return kFeatureEntries;
2722 } 2722 }
2723 2723
2724 } // namespace testing 2724 } // namespace testing
2725 2725
2726 } // namespace about_flags 2726 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698