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

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

Issue 2081873002: Incorporate comments in Dbus code and add Eol icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate comments from isherman@ Created 4 years, 5 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/chromeos_strings.grdp ('k') | chrome/browser/chromeos/eol_notification.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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 0, 773 0,
774 #endif 774 #endif
775 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)}, 775 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)},
776 {"enable-gpu-rasterization", IDS_FLAGS_GPU_RASTERIZATION_NAME, 776 {"enable-gpu-rasterization", IDS_FLAGS_GPU_RASTERIZATION_NAME,
777 IDS_FLAGS_GPU_RASTERIZATION_DESCRIPTION, kOsAll, 777 IDS_FLAGS_GPU_RASTERIZATION_DESCRIPTION, kOsAll,
778 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)}, 778 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)},
779 {"gpu-rasterization-msaa-sample-count", 779 {"gpu-rasterization-msaa-sample-count",
780 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, 780 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME,
781 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, kOsAll, 781 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, kOsAll,
782 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)}, 782 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)},
783 {"enable-experimental-web-platform-features", // FLAGS:RECORD_UMA 783 {"enable-experimental-web-platform-features", // FLAGS:RECORD_UMA
784 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, 784 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME,
785 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, kOsAll, 785 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, kOsAll,
786 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, 786 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)},
787 {"enable-web-bluetooth", IDS_FLAGS_WEB_BLUETOOTH_NAME, 787 {"enable-web-bluetooth", IDS_FLAGS_WEB_BLUETOOTH_NAME,
788 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION, 788 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION,
789 kOsCrOS | kOsMac | kOsAndroid | kOsLinux, 789 kOsCrOS | kOsMac | kOsAndroid | kOsLinux,
790 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)}, 790 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)},
791 #if defined(ENABLE_EXTENSIONS) 791 #if defined(ENABLE_EXTENSIONS)
792 {"enable-ble-advertising-in-apps", 792 {"enable-ble-advertising-in-apps",
793 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME, 793 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME,
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 switches::kDisableVrShell)}, 1950 switches::kDisableVrShell)},
1951 {"enable-android-pay-integration-v1", 1951 {"enable-android-pay-integration-v1",
1952 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, 1952 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME,
1953 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, 1953 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid,
1954 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, 1954 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)},
1955 #endif 1955 #endif
1956 {"enable-weak-memorycache", IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME, 1956 {"enable-weak-memorycache", IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME,
1957 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll, 1957 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll,
1958 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)}, 1958 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)},
1959 #if defined(OS_CHROMEOS) 1959 #if defined(OS_CHROMEOS)
1960 {"enable-eol-notification", IDS_FLAGS_ENABLE_EOL_NOTIFICATION_NAME, 1960 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME,
1961 IDS_FLAGS_ENABLE_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, 1961 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS,
1962 SINGLE_VALUE_TYPE(chromeos::switches::kEnableEolNotification)}, 1962 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)},
1963 #endif // defined(OS_CHROMEOS) 1963 #endif // defined(OS_CHROMEOS)
1964 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, 1964 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME,
1965 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, 1965 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll,
1966 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, 1966 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
1967 {"new-audio-rendering-mixing-strategy", // FLAGS:RECORD_UMA 1967 {"new-audio-rendering-mixing-strategy", // FLAGS:RECORD_UMA
1968 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, 1968 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME,
1969 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_DESCRIPTION, 1969 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_DESCRIPTION,
1970 kOsWin | kOsMac | kOsLinux | kOsAndroid, 1970 kOsWin | kOsMac | kOsLinux | kOsAndroid,
1971 FEATURE_VALUE_TYPE(media::kNewAudioRenderingMixingStrategy)}, 1971 FEATURE_VALUE_TYPE(media::kNewAudioRenderingMixingStrategy)},
1972 // NOTE: Adding new command-line switches requires adding corresponding 1972 // NOTE: Adding new command-line switches requires adding corresponding
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2167 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2168 2168
2169 const FeatureEntry* GetFeatureEntries(size_t* count) { 2169 const FeatureEntry* GetFeatureEntries(size_t* count) {
2170 *count = arraysize(kFeatureEntries); 2170 *count = arraysize(kFeatureEntries);
2171 return kFeatureEntries; 2171 return kFeatureEntries;
2172 } 2172 }
2173 2173
2174 } // namespace testing 2174 } // namespace testing
2175 2175
2176 } // namespace about_flags 2176 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/eol_notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698