| 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 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1182 IDS_NOTIFICATIONS_NATIVE_FLAG_DESCRIPTION, kOsMac, | 1182 IDS_NOTIFICATIONS_NATIVE_FLAG_DESCRIPTION, kOsMac, |
| 1183 SINGLE_VALUE_TYPE(switches::kEnableNativeNotifications)}, | 1183 SINGLE_VALUE_TYPE(switches::kEnableNativeNotifications)}, |
| 1184 #endif | 1184 #endif |
| 1185 #if defined(TOOLKIT_VIEWS) | 1185 #if defined(TOOLKIT_VIEWS) |
| 1186 {"disable-views-rect-based-targeting", // FLAGS:RECORD_UMA | 1186 {"disable-views-rect-based-targeting", // FLAGS:RECORD_UMA |
| 1187 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME, | 1187 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_NAME, |
| 1188 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, | 1188 IDS_FLAGS_VIEWS_RECT_BASED_TARGETING_DESCRIPTION, |
| 1189 kOsCrOS | kOsWin | kOsLinux, | 1189 kOsCrOS | kOsWin | kOsLinux, |
| 1190 SINGLE_DISABLE_VALUE_TYPE( | 1190 SINGLE_DISABLE_VALUE_TYPE( |
| 1191 views::switches::kDisableViewsRectBasedTargeting)}, | 1191 views::switches::kDisableViewsRectBasedTargeting)}, |
| 1192 {"enable-link-disambiguation-popup", | |
| 1193 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_NAME, | |
| 1194 IDS_FLAGS_LINK_DISAMBIGUATION_POPUP_DESCRIPTION, kOsCrOS | kOsWin, | |
| 1195 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)}, | |
| 1196 #endif | 1192 #endif |
| 1197 #if defined(ENABLE_EXTENSIONS) | 1193 #if defined(ENABLE_EXTENSIONS) |
| 1198 {"enable-apps-show-on-first-paint", IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1194 {"enable-apps-show-on-first-paint", IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME, |
| 1199 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, kOsDesktop, | 1195 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, kOsDesktop, |
| 1200 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)}, | 1196 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)}, |
| 1201 #endif | 1197 #endif |
| 1202 #if defined(OS_ANDROID) | 1198 #if defined(OS_ANDROID) |
| 1203 {"reader-mode-heuristics", IDS_FLAGS_READER_MODE_HEURISTICS_NAME, | 1199 {"reader-mode-heuristics", IDS_FLAGS_READER_MODE_HEURISTICS_NAME, |
| 1204 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, kOsAndroid, | 1200 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, kOsAndroid, |
| 1205 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, | 1201 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2011 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2007 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2012 | 2008 |
| 2013 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2009 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2014 *count = arraysize(kFeatureEntries); | 2010 *count = arraysize(kFeatureEntries); |
| 2015 return kFeatureEntries; | 2011 return kFeatureEntries; |
| 2016 } | 2012 } |
| 2017 | 2013 |
| 2018 } // namespace testing | 2014 } // namespace testing |
| 2019 | 2015 |
| 2020 } // namespace about_flags | 2016 } // namespace about_flags |
| OLD | NEW |