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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Enables or disables whether permission prompts are automatically blocked | 57 // Enables or disables whether permission prompts are automatically blocked |
58 // after the user has explicitly dismissed them too many times. | 58 // after the user has explicitly dismissed them too many times. |
59 const base::Feature kBlockPromptsIfDismissedOften{ | 59 const base::Feature kBlockPromptsIfDismissedOften{ |
60 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; | 60 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
61 | 61 |
62 // Fixes for browser hang bugs are deployed in a field trial in order to measure | 62 // Fixes for browser hang bugs are deployed in a field trial in order to measure |
63 // their impact. See crbug.com/478209. | 63 // their impact. See crbug.com/478209. |
64 const base::Feature kBrowserHangFixesExperiment{ | 64 const base::Feature kBrowserHangFixesExperiment{ |
65 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 65 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
66 | 66 |
| 67 #if defined(OS_MACOSX) |
| 68 // Enables or disables the browser's touch bar. |
| 69 const base::Feature kBrowserTouchBar{"BrowserTouchBar", |
| 70 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 71 #endif // defined(OS_MACOSX) |
| 72 |
67 #if defined(OS_ANDROID) | 73 #if defined(OS_ANDROID) |
68 // Experiment to make Geolocation permissions in the omnibox and the default | 74 // Experiment to make Geolocation permissions in the omnibox and the default |
69 // search engine's search page consistent. | 75 // search engine's search page consistent. |
70 const base::Feature kConsistentOmniboxGeolocation{ | 76 const base::Feature kConsistentOmniboxGeolocation{ |
71 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; | 77 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; |
72 #endif | 78 #endif |
73 | 79 |
74 #if defined(OS_WIN) | 80 #if defined(OS_WIN) |
75 // Disables the AutoImport feature on first run. See crbug.com/555550 | 81 // Disables the AutoImport feature on first run. See crbug.com/555550 |
76 const base::Feature kDisableFirstRunAutoImportWin{ | 82 const base::Feature kDisableFirstRunAutoImportWin{ |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 272 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
267 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 273 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
268 base::FEATURE_ENABLED_BY_DEFAULT}; | 274 base::FEATURE_ENABLED_BY_DEFAULT}; |
269 | 275 |
270 // Enables or disables flash component updates on Chrome OS. | 276 // Enables or disables flash component updates on Chrome OS. |
271 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 277 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
272 base::FEATURE_ENABLED_BY_DEFAULT}; | 278 base::FEATURE_ENABLED_BY_DEFAULT}; |
273 #endif // defined(OS_CHROMEOS) | 279 #endif // defined(OS_CHROMEOS) |
274 | 280 |
275 } // namespace features | 281 } // namespace features |
OLD | NEW |