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

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

Issue 2655263003: [NTP] Remove the ScrollView version of the NTP. (Closed)
Patch Set: Cleaned up some more. Created 3 years, 11 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/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.cc » ('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 1858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 SINGLE_VALUE_TYPE(extensions::switches::kDisableTabForDesktopShare)}, 1869 SINGLE_VALUE_TYPE(extensions::switches::kDisableTabForDesktopShare)},
1870 #endif // ENABLE_EXTENSIONS 1870 #endif // ENABLE_EXTENSIONS
1871 #if defined(OS_ANDROID) 1871 #if defined(OS_ANDROID)
1872 {"content-suggestions-category-ranker", 1872 {"content-suggestions-category-ranker",
1873 IDS_FLAGS_CONTENT_SUGGESTIONS_CATEGORY_RANKER_NAME, 1873 IDS_FLAGS_CONTENT_SUGGESTIONS_CATEGORY_RANKER_NAME,
1874 IDS_FLAGS_CONTENT_SUGGESTIONS_CATEGORY_RANKER_DESCRIPTION, kOsAndroid, 1874 IDS_FLAGS_CONTENT_SUGGESTIONS_CATEGORY_RANKER_DESCRIPTION, kOsAndroid,
1875 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 1875 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
1876 ntp_snippets::kCategoryRanker, 1876 ntp_snippets::kCategoryRanker,
1877 kContentSuggestionsCategoryRankerFeatureVariations, 1877 kContentSuggestionsCategoryRankerFeatureVariations,
1878 ntp_snippets::kStudyName)}, 1878 ntp_snippets::kStudyName)},
1879 {"enable-ntp-snippets", IDS_FLAGS_ENABLE_NTP_SNIPPETS_NAME, 1879 {"override-ntp-suggestions-source", IDS_FLAGS_OVERRIDE_SNIPPETS_SOURCE_NAME,
1880 IDS_FLAGS_ENABLE_NTP_SNIPPETS_DESCRIPTION, kOsAndroid, 1880 IDS_FLAGS_OVERRIDE_SNIPPETS_SOURCE_DESCRIPTION, kOsAndroid,
1881 FEATURE_WITH_VARIATIONS_VALUE_TYPE( 1881 FEATURE_WITH_VARIATIONS_VALUE_TYPE(
1882 ntp_snippets::kContentSuggestionsFeature, 1882 ntp_snippets::kContentSuggestionsSource,
1883 kNTPSnippetsFeatureVariations, 1883 kNTPSnippetsFeatureVariations,
1884 ntp_snippets::kStudyName)}, 1884 ntp_snippets::kStudyName)},
1885 {"enable-ntp-snippets-increased-visibility", 1885 {"enable-ntp-snippets-increased-visibility",
1886 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_NAME, 1886 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_NAME,
1887 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_DESCRIPTION, kOsAndroid, 1887 IDS_FLAGS_ENABLE_NTP_SNIPPETS_VISIBILITY_DESCRIPTION, kOsAndroid,
1888 FEATURE_VALUE_TYPE(ntp_snippets::kIncreasedVisibility)}, 1888 FEATURE_VALUE_TYPE(ntp_snippets::kIncreasedVisibility)},
1889 {"enable-ntp-save-to-offline", IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_NAME, 1889 {"enable-ntp-save-to-offline", IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_NAME,
1890 IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_DESCRIPTION, kOsAndroid, 1890 IDS_FLAGS_ENABLE_NTP_SAVE_TO_OFFLINE_DESCRIPTION, kOsAndroid,
1891 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)}, 1891 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)},
1892 {"enable-ntp-offline-badge", IDS_FLAGS_ENABLE_NTP_OFFLINE_BADGE_NAME, 1892 {"enable-ntp-offline-badge", IDS_FLAGS_ENABLE_NTP_OFFLINE_BADGE_NAME,
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
2420 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2420 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2421 2421
2422 const FeatureEntry* GetFeatureEntries(size_t* count) { 2422 const FeatureEntry* GetFeatureEntries(size_t* count) {
2423 *count = arraysize(kFeatureEntries); 2423 *count = arraysize(kFeatureEntries);
2424 return kFeatureEntries; 2424 return kFeatureEntries;
2425 } 2425 }
2426 2426
2427 } // namespace testing 2427 } // namespace testing
2428 2428
2429 } // namespace about_flags 2429 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698