| 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 1405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 kOsCrOS | kOsWin, | 1416 kOsCrOS | kOsWin, |
| 1417 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)}, | 1417 SINGLE_VALUE_TYPE(switches::kEnableLinkDisambiguationPopup)}, |
| 1418 #endif | 1418 #endif |
| 1419 #if defined(ENABLE_EXTENSIONS) | 1419 #if defined(ENABLE_EXTENSIONS) |
| 1420 {"enable-apps-show-on-first-paint", | 1420 {"enable-apps-show-on-first-paint", |
| 1421 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME, | 1421 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_NAME, |
| 1422 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, | 1422 IDS_FLAGS_APPS_SHOW_ON_FIRST_PAINT_DESCRIPTION, |
| 1423 kOsDesktop, | 1423 kOsDesktop, |
| 1424 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)}, | 1424 SINGLE_VALUE_TYPE(extensions::switches::kEnableAppsShowOnFirstPaint)}, |
| 1425 #endif | 1425 #endif |
| 1426 {"enhanced-bookmarks-experiment", | |
| 1427 IDS_FLAGS_ENHANCED_BOOKMARKS_NAME, | |
| 1428 IDS_FLAGS_ENHANCED_BOOKMARKS_DESCRIPTION, | |
| 1429 kOsDesktop | kOsAndroid, | |
| 1430 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kEnhancedBookmarksExperiment, | |
| 1431 "1", | |
| 1432 switches::kEnhancedBookmarksExperiment, | |
| 1433 "0")}, | |
| 1434 #if defined(OS_ANDROID) | 1426 #if defined(OS_ANDROID) |
| 1435 {"reader-mode-heuristics", | 1427 {"reader-mode-heuristics", |
| 1436 IDS_FLAGS_READER_MODE_HEURISTICS_NAME, | 1428 IDS_FLAGS_READER_MODE_HEURISTICS_NAME, |
| 1437 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, | 1429 IDS_FLAGS_READER_MODE_HEURISTICS_DESCRIPTION, |
| 1438 kOsAndroid, | 1430 kOsAndroid, |
| 1439 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, | 1431 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
| 1440 {"enable-dom-distiller-button-animation", | 1432 {"enable-dom-distiller-button-animation", |
| 1441 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION, | 1433 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION, |
| 1442 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION_DESCRIPTION, | 1434 IDS_FLAGS_READER_MODE_BUTTON_ANIMATION_DESCRIPTION, |
| 1443 kOsAndroid, | 1435 kOsAndroid, |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2284 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2276 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2285 | 2277 |
| 2286 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2278 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2287 *count = arraysize(kFeatureEntries); | 2279 *count = arraysize(kFeatureEntries); |
| 2288 return kFeatureEntries; | 2280 return kFeatureEntries; |
| 2289 } | 2281 } |
| 2290 | 2282 |
| 2291 } // namespace testing | 2283 } // namespace testing |
| 2292 | 2284 |
| 2293 } // namespace about_flags | 2285 } // namespace about_flags |
| OLD | NEW |