Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2778983005: Allow the app banner installability check to run on page load. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #if defined(OS_MACOSX) 83 #if defined(OS_MACOSX)
84 // Enables or disables the browser's touch bar. 84 // Enables or disables the browser's touch bar.
85 const base::Feature kBrowserTouchBar{"BrowserTouchBar", 85 const base::Feature kBrowserTouchBar{"BrowserTouchBar",
86 base::FEATURE_ENABLED_BY_DEFAULT}; 86 base::FEATURE_ENABLED_BY_DEFAULT};
87 87
88 // Enables or disables keyboard focus for the tab strip. 88 // Enables or disables keyboard focus for the tab strip.
89 const base::Feature kTabStripKeyboardFocus{"TabStripKeyboardFocus", 89 const base::Feature kTabStripKeyboardFocus{"TabStripKeyboardFocus",
90 base::FEATURE_DISABLED_BY_DEFAULT}; 90 base::FEATURE_DISABLED_BY_DEFAULT};
91 #endif // defined(OS_MACOSX) 91 #endif // defined(OS_MACOSX)
92 92
93 // Whether to trigger app banner installability checks on page load.
94 const base::Feature kCheckInstallabilityForBannerOnLoad{
95 "CheckInstallabilityForBannerOnLoad", base::FEATURE_DISABLED_BY_DEFAULT};
96
93 #if defined(OS_ANDROID) 97 #if defined(OS_ANDROID)
94 // Experiment to make Geolocation permissions in the omnibox and the default 98 // Experiment to make Geolocation permissions in the omnibox and the default
95 // search engine's search page consistent. 99 // search engine's search page consistent.
96 const base::Feature kConsistentOmniboxGeolocation{ 100 const base::Feature kConsistentOmniboxGeolocation{
97 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; 101 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT};
98 #endif 102 #endif
99 103
100 #if defined(OS_WIN) 104 #if defined(OS_WIN)
101 // Enables or disables desktop ios promotion, which shows a promotion to the 105 // Enables or disables desktop ios promotion, which shows a promotion to the
102 // user promoting Chrome for iOS. 106 // user promoting Chrome for iOS.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 304 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
301 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 305 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
302 base::FEATURE_ENABLED_BY_DEFAULT}; 306 base::FEATURE_ENABLED_BY_DEFAULT};
303 307
304 // Enables or disables flash component updates on Chrome OS. 308 // Enables or disables flash component updates on Chrome OS.
305 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 309 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
306 base::FEATURE_ENABLED_BY_DEFAULT}; 310 base::FEATURE_ENABLED_BY_DEFAULT};
307 #endif // defined(OS_CHROMEOS) 311 #endif // defined(OS_CHROMEOS)
308 312
309 } // namespace features 313 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698