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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // Shift+Backspace to navigate forward. | 62 // Shift+Backspace to navigate forward. |
63 const base::Feature kBackspaceGoesBackFeature { | 63 const base::Feature kBackspaceGoesBackFeature { |
64 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT | 64 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT |
65 }; | 65 }; |
66 | 66 |
67 // Enables or disables whether permission prompts are automatically blocked | 67 // Enables or disables whether permission prompts are automatically blocked |
68 // after the user has explicitly dismissed them too many times. | 68 // after the user has explicitly dismissed them too many times. |
69 const base::Feature kBlockPromptsIfDismissedOften{ | 69 const base::Feature kBlockPromptsIfDismissedOften{ |
70 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; | 70 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
71 | 71 |
| 72 // Enables or disables whether permission prompts are automatically blocked |
| 73 // after the user has ignored them too many times. |
| 74 const base::Feature kBlockPromptsIfIgnoredOften{ |
| 75 "BlockPromptsIfIgnoredOften", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 76 |
72 #if defined(OS_MACOSX) | 77 #if defined(OS_MACOSX) |
73 // Enables the new bookmark app system (e.g. Add To Applications on Mac). | 78 // Enables the new bookmark app system (e.g. Add To Applications on Mac). |
74 const base::Feature kBookmarkApps{"BookmarkAppsMac", | 79 const base::Feature kBookmarkApps{"BookmarkAppsMac", |
75 base::FEATURE_DISABLED_BY_DEFAULT}; | 80 base::FEATURE_DISABLED_BY_DEFAULT}; |
76 #endif | 81 #endif |
77 | 82 |
78 // Fixes for browser hang bugs are deployed in a field trial in order to measure | 83 // Fixes for browser hang bugs are deployed in a field trial in order to measure |
79 // their impact. See crbug.com/478209. | 84 // their impact. See crbug.com/478209. |
80 const base::Feature kBrowserHangFixesExperiment{ | 85 const base::Feature kBrowserHangFixesExperiment{ |
81 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; | 86 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 305 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
301 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 306 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
302 base::FEATURE_ENABLED_BY_DEFAULT}; | 307 base::FEATURE_ENABLED_BY_DEFAULT}; |
303 | 308 |
304 // Enables or disables flash component updates on Chrome OS. | 309 // Enables or disables flash component updates on Chrome OS. |
305 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 310 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
306 base::FEATURE_ENABLED_BY_DEFAULT}; | 311 base::FEATURE_ENABLED_BY_DEFAULT}; |
307 #endif // defined(OS_CHROMEOS) | 312 #endif // defined(OS_CHROMEOS) |
308 | 313 |
309 } // namespace features | 314 } // namespace features |
OLD | NEW |