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

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

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: inverted conditional 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 2081 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, 2092 chromeos::switches::kEnableExperimentalAccessibilityFeatures)},
2093 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName, 2093 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName,
2094 flag_descriptions::kEnableImeMenuDescription, kOsCrOS, 2094 flag_descriptions::kEnableImeMenuDescription, kOsCrOS,
2095 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, 2095 FEATURE_VALUE_TYPE(features::kOptInImeMenu)},
2096 {"disable-system-timezone-automatic-detection", 2096 {"disable-system-timezone-automatic-detection",
2097 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName, 2097 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName,
2098 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription, 2098 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription,
2099 kOsCrOS, 2099 kOsCrOS,
2100 SINGLE_VALUE_TYPE( 2100 SINGLE_VALUE_TYPE(
2101 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, 2101 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)},
2102 {"enable-native-cups", flag_descriptions::kEnableNativeCupsName, 2102 {"disable-native-cups", flag_descriptions::kDisableNativeCupsName,
2103 flag_descriptions::kEnableNativeCupsDescription, kOsCrOS, 2103 flag_descriptions::kDisableNativeCupsDescription, kOsCrOS,
2104 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, 2104 SINGLE_VALUE_TYPE(switches::kDisableNativeCups)},
2105 #endif // OS_CHROMEOS 2105 #endif // OS_CHROMEOS
2106 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) 2106 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD)
2107 {"enable-google-branded-context-menu", 2107 {"enable-google-branded-context-menu",
2108 flag_descriptions::kGoogleBrandedContextMenuName, 2108 flag_descriptions::kGoogleBrandedContextMenuName,
2109 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop, 2109 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop,
2110 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, 2110 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)},
2111 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD 2111 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD
2112 #if defined(OS_MACOSX) 2112 #if defined(OS_MACOSX)
2113 {"enable-fullscreen-in-tab-detaching", 2113 {"enable-fullscreen-in-tab-detaching",
2114 flag_descriptions::kTabDetachingInFullscreenName, 2114 flag_descriptions::kTabDetachingInFullscreenName,
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
2699 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2699 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2700 2700
2701 const FeatureEntry* GetFeatureEntries(size_t* count) { 2701 const FeatureEntry* GetFeatureEntries(size_t* count) {
2702 *count = arraysize(kFeatureEntries); 2702 *count = arraysize(kFeatureEntries);
2703 return kFeatureEntries; 2703 return kFeatureEntries;
2704 } 2704 }
2705 2705
2706 } // namespace testing 2706 } // namespace testing
2707 2707
2708 } // namespace about_flags 2708 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | chrome/common/chrome_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698