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 2796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2807 {"new-omnibox-answer-types", flag_descriptions::kNewOmniboxAnswerTypesName, | 2807 {"new-omnibox-answer-types", flag_descriptions::kNewOmniboxAnswerTypesName, |
| 2808 flag_descriptions::kNewOmniboxAnswerTypesDescription, kOsAll, | 2808 flag_descriptions::kNewOmniboxAnswerTypesDescription, kOsAll, |
| 2809 FEATURE_VALUE_TYPE(omnibox::kNewOmniboxAnswerTypes)}, | 2809 FEATURE_VALUE_TYPE(omnibox::kNewOmniboxAnswerTypes)}, |
| 2810 | 2810 |
| 2811 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ | 2811 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
| 2812 defined(OS_WIN) | 2812 defined(OS_WIN) |
| 2813 {"omnibox-entity-suggestions", | 2813 {"omnibox-entity-suggestions", |
| 2814 flag_descriptions::kOmniboxEntitySuggestionsName, | 2814 flag_descriptions::kOmniboxEntitySuggestionsName, |
| 2815 flag_descriptions::kOmniboxEntitySuggestionsDescription, kOsDesktop, | 2815 flag_descriptions::kOmniboxEntitySuggestionsDescription, kOsDesktop, |
| 2816 FEATURE_VALUE_TYPE(omnibox::kOmniboxEntitySuggestions)}, | 2816 FEATURE_VALUE_TYPE(omnibox::kOmniboxEntitySuggestions)}, |
| 2817 {"omnibox-tail-suggestions", flag_descriptions::kOmniboxTailSuggestionsName, | |
| 2818 flag_descriptions::kOmniboxTailSuggestionsDescription, kOsDesktop, | |
|
Mark P
2017/06/01 17:29:50
drive-by: the tail suggest deck proposes enabling
Kevin Bailey
2017/06/01 17:45:54
While the desktop is capable of receiving and hand
Justin Donnelly
2017/06/02 14:21:42
I've added a comment to the doc mentioning that th
| |
| 2819 FEATURE_VALUE_TYPE(omnibox::kOmniboxTailSuggestions)}, | |
| 2817 {"enable-new-app-menu-icon", flag_descriptions::kEnableNewAppMenuIconName, | 2820 {"enable-new-app-menu-icon", flag_descriptions::kEnableNewAppMenuIconName, |
| 2818 flag_descriptions::kEnableNewAppMenuIconDescription, kOsDesktop, | 2821 flag_descriptions::kEnableNewAppMenuIconDescription, kOsDesktop, |
| 2819 SINGLE_VALUE_TYPE(switches::kEnableNewAppMenuIcon)}, | 2822 SINGLE_VALUE_TYPE(switches::kEnableNewAppMenuIcon)}, |
| 2820 #endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || | 2823 #endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || |
| 2821 // defined(OS_WIN) | 2824 // defined(OS_WIN) |
| 2822 | 2825 |
| 2823 #if defined(OS_ANDROID) | 2826 #if defined(OS_ANDROID) |
| 2824 {"enable-custom-feedback-ui", | 2827 {"enable-custom-feedback-ui", |
| 2825 flag_descriptions::kEnableCustomFeedbackUiName, | 2828 flag_descriptions::kEnableCustomFeedbackUiName, |
| 2826 flag_descriptions::kEnableCustomFeedbackUiDescription, kOsAndroid, | 2829 flag_descriptions::kEnableCustomFeedbackUiDescription, kOsAndroid, |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3258 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3261 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3259 | 3262 |
| 3260 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3263 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3261 *count = arraysize(kFeatureEntries); | 3264 *count = arraysize(kFeatureEntries); |
| 3262 return kFeatureEntries; | 3265 return kFeatureEntries; |
| 3263 } | 3266 } |
| 3264 | 3267 |
| 3265 } // namespace testing | 3268 } // namespace testing |
| 3266 | 3269 |
| 3267 } // namespace about_flags | 3270 } // namespace about_flags |
| OLD | NEW |