OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/common/chrome_features.h" | 5 #include "chrome/common/chrome_features.h" |
6 | 6 |
7 #include "extensions/features/features.h" | 7 #include "extensions/features/features.h" |
8 #include "ppapi/features/features.h" | 8 #include "ppapi/features/features.h" |
9 | 9 |
10 namespace features { | 10 namespace features { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // Enables or disables whether permission prompts are automatically blocked | 63 // Enables or disables whether permission prompts are automatically blocked |
64 // after the user has explicitly dismissed them too many times. | 64 // after the user has explicitly dismissed them too many times. |
65 const base::Feature kBlockPromptsIfDismissedOften{ | 65 const base::Feature kBlockPromptsIfDismissedOften{ |
66 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; | 66 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
67 | 67 |
68 // Fixes for browser hang bugs are deployed in a field trial in order to measure | 68 // Fixes for browser hang bugs are deployed in a field trial in order to measure |
69 // their impact. See crbug.com/478209. | 69 // their impact. See crbug.com/478209. |
70 const base::Feature kBrowserHangFixesExperiment{ | 70 const base::Feature kBrowserHangFixesExperiment{ |
71 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 71 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
72 | 72 |
| 73 #if defined(OS_MACOSX) |
| 74 // Enables or disables the browser's touch bar. |
| 75 const base::Feature kBrowserTouchBar{"BrowserTouchBar", |
| 76 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 77 #endif // defined(OS_MACOSX) |
| 78 |
73 #if defined(OS_ANDROID) | 79 #if defined(OS_ANDROID) |
74 // Experiment to make Geolocation permissions in the omnibox and the default | 80 // Experiment to make Geolocation permissions in the omnibox and the default |
75 // search engine's search page consistent. | 81 // search engine's search page consistent. |
76 const base::Feature kConsistentOmniboxGeolocation{ | 82 const base::Feature kConsistentOmniboxGeolocation{ |
77 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; | 83 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; |
78 #endif | 84 #endif |
79 | 85 |
80 #if defined(OS_WIN) | 86 #if defined(OS_WIN) |
81 // Enables or disables desktop ios promotion, which shows a promotion to the | 87 // Enables or disables desktop ios promotion, which shows a promotion to the |
82 // user promoting Chrome for iOS. | 88 // user promoting Chrome for iOS. |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 286 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
281 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 287 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
282 base::FEATURE_ENABLED_BY_DEFAULT}; | 288 base::FEATURE_ENABLED_BY_DEFAULT}; |
283 | 289 |
284 // Enables or disables flash component updates on Chrome OS. | 290 // Enables or disables flash component updates on Chrome OS. |
285 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 291 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
286 base::FEATURE_ENABLED_BY_DEFAULT}; | 292 base::FEATURE_ENABLED_BY_DEFAULT}; |
287 #endif // defined(OS_CHROMEOS) | 293 #endif // defined(OS_CHROMEOS) |
288 | 294 |
289 } // namespace features | 295 } // namespace features |
OLD | NEW |