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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 #else | 74 #else |
75 #include "ui/message_center/message_center_switches.h" | 75 #include "ui/message_center/message_center_switches.h" |
76 #endif | 76 #endif |
77 | 77 |
78 #if defined(OS_CHROMEOS) | 78 #if defined(OS_CHROMEOS) |
79 #include "chromeos/chromeos_switches.h" | 79 #include "chromeos/chromeos_switches.h" |
80 #include "third_party/cros_system_api/switches/chrome_switches.h" | 80 #include "third_party/cros_system_api/switches/chrome_switches.h" |
81 #endif | 81 #endif |
82 | 82 |
83 #if defined(OS_WIN) | 83 #if defined(OS_WIN) |
84 #include "components/search_engines/desktop_search_win.h" | 84 #include "components/search_engines/desktop_search_utils.h" |
85 #endif // defined(OS_WIN) | 85 #endif // defined(OS_WIN) |
86 | 86 |
87 #if defined(ENABLE_APP_LIST) | 87 #if defined(ENABLE_APP_LIST) |
88 #include "ui/app_list/app_list_switches.h" | 88 #include "ui/app_list/app_list_switches.h" |
89 #endif | 89 #endif |
90 | 90 |
91 #if defined(ENABLE_EXTENSIONS) | 91 #if defined(ENABLE_EXTENSIONS) |
92 #include "extensions/common/switches.h" | 92 #include "extensions/common/switches.h" |
93 #endif | 93 #endif |
94 | 94 |
(...skipping 1961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2056 {"enable-md-history", | 2056 {"enable-md-history", |
2057 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME, | 2057 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_NAME, |
2058 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, | 2058 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_HISTORY_DESCRIPTION, |
2059 kOsDesktop | kOsAndroid, | 2059 kOsDesktop | kOsAndroid, |
2060 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignHistory)}, | 2060 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignHistory)}, |
2061 #if defined(OS_WIN) | 2061 #if defined(OS_WIN) |
2062 {"enable-windows-desktop-search-redirection", | 2062 {"enable-windows-desktop-search-redirection", |
2063 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_NAME, | 2063 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_NAME, |
2064 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_DESCRIPTION, | 2064 IDS_FLAGS_WINDOWS_DESKTOP_SEARCH_REDIRECTION_DESCRIPTION, |
2065 kOsWin, | 2065 kOsWin, |
2066 FEATURE_VALUE_TYPE(kWindowsDesktopSearchRedirectionFeature)}, | 2066 FEATURE_VALUE_TYPE(kDesktopSearchRedirectionFeature)}, |
2067 #endif // defined(OS_WIN) | 2067 #endif // defined(OS_WIN) |
2068 {"force-ui-direction", | 2068 {"force-ui-direction", |
2069 IDS_FLAGS_FORCE_UI_DIRECTION_NAME, | 2069 IDS_FLAGS_FORCE_UI_DIRECTION_NAME, |
2070 IDS_FLAGS_FORCE_UI_DIRECTION_DESCRIPTION, | 2070 IDS_FLAGS_FORCE_UI_DIRECTION_DESCRIPTION, |
2071 kOsAll, | 2071 kOsAll, |
2072 MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, | 2072 MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, |
2073 #if defined(ENABLE_EXTENSIONS) | 2073 #if defined(ENABLE_EXTENSIONS) |
2074 {"enable-md-extensions", | 2074 {"enable-md-extensions", |
2075 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_NAME, | 2075 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_NAME, |
2076 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION, | 2076 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION, |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2350 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2350 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2351 | 2351 |
2352 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2352 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2353 *count = arraysize(kFeatureEntries); | 2353 *count = arraysize(kFeatureEntries); |
2354 return kFeatureEntries; | 2354 return kFeatureEntries; |
2355 } | 2355 } |
2356 | 2356 |
2357 } // namespace testing | 2357 } // namespace testing |
2358 | 2358 |
2359 } // namespace about_flags | 2359 } // namespace about_flags |
OLD | NEW |