Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1332 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, | 1332 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, |
| 1333 kOsDesktop, | 1333 kOsDesktop, |
| 1334 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, | 1334 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, |
| 1335 switches::kDisableDeviceDiscoveryNotifications)}, | 1335 switches::kDisableDeviceDiscoveryNotifications)}, |
| 1336 {"enable-print-preview-register-promos", | 1336 {"enable-print-preview-register-promos", |
| 1337 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_NAME, | 1337 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_NAME, |
| 1338 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, | 1338 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, |
| 1339 kOsDesktop, | 1339 kOsDesktop, |
| 1340 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)}, | 1340 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos)}, |
| 1341 #endif // ENABLE_SERVICE_DISCOVERY | 1341 #endif // ENABLE_SERVICE_DISCOVERY |
| 1342 #if !defined(OS_ANDROID) | |
|
Vitaly Buka (NO REVIEWS)
2015/10/29 00:30:19
this should be
#if defined(ENABLE_PRINT_PREVIEW)
mvendramini_hp
2015/10/29 11:57:17
Done.
| |
| 1343 {"disable-print-preview-simplify", | |
| 1344 IDS_FLAGS_DISABLE_DISTILLER_IN_PRINT_PREVIEW_NAME, | |
| 1345 IDS_FLAGS_DISABLE_DISTILLER_IN_PRINT_PREVIEW_DESCRIPTION, | |
| 1346 kOsDesktop, | |
| 1347 SINGLE_VALUE_TYPE(switches::kDisablePrintPreviewSimplify)}, | |
| 1348 #endif | |
| 1342 #if defined(OS_WIN) | 1349 #if defined(OS_WIN) |
| 1343 {"enable-cloud-print-xps", | 1350 {"enable-cloud-print-xps", |
| 1344 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_NAME, | 1351 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_NAME, |
| 1345 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_DESCRIPTION, | 1352 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_DESCRIPTION, |
| 1346 kOsWin, | 1353 kOsWin, |
| 1347 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, | 1354 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)}, |
| 1348 #endif | 1355 #endif |
| 1349 #if defined(USE_AURA) | 1356 #if defined(USE_AURA) |
| 1350 {"tab-capture-upscale-quality", | 1357 {"tab-capture-upscale-quality", |
| 1351 IDS_FLAGS_TAB_CAPTURE_UPSCALE_QUALITY_NAME, | 1358 IDS_FLAGS_TAB_CAPTURE_UPSCALE_QUALITY_NAME, |
| (...skipping 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2970 FlagsState::GetInstance()->SetFeatureEntries(entries, count); | 2977 FlagsState::GetInstance()->SetFeatureEntries(entries, count); |
| 2971 } | 2978 } |
| 2972 | 2979 |
| 2973 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2980 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2974 return FlagsState::GetInstance()->GetFeatureEntries(count); | 2981 return FlagsState::GetInstance()->GetFeatureEntries(count); |
| 2975 } | 2982 } |
| 2976 | 2983 |
| 2977 } // namespace testing | 2984 } // namespace testing |
| 2978 | 2985 |
| 2979 } // namespace about_flags | 2986 } // namespace about_flags |
| OLD | NEW |