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

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

Issue 2765083002: Hardcode extensions::util::IsNewBookmarkAppsEnabled() to true, except on Mac. (Closed)
Patch Set: respond to comments Created 3 years, 9 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
« no previous file with comments | « chrome/common/chrome_features.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Shift+Backspace to navigate forward. 58 // Shift+Backspace to navigate forward.
59 const base::Feature kBackspaceGoesBackFeature { 59 const base::Feature kBackspaceGoesBackFeature {
60 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT 60 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT
61 }; 61 };
62 62
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 #if defined(OS_MACOSX)
69 // Enables the new bookmark app system (e.g. Add To Applications on Mac).
70 const base::Feature kBookmarkApps{"BookmarkAppsMac",
71 base::FEATURE_DISABLED_BY_DEFAULT};
72 #endif
73
68 // Fixes for browser hang bugs are deployed in a field trial in order to measure 74 // Fixes for browser hang bugs are deployed in a field trial in order to measure
69 // their impact. See crbug.com/478209. 75 // their impact. See crbug.com/478209.
70 const base::Feature kBrowserHangFixesExperiment{ 76 const base::Feature kBrowserHangFixesExperiment{
71 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 77 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
72 78
73 #if defined(OS_MACOSX) 79 #if defined(OS_MACOSX)
74 // Enables or disables the browser's touch bar. 80 // Enables or disables the browser's touch bar.
75 const base::Feature kBrowserTouchBar{"BrowserTouchBar", 81 const base::Feature kBrowserTouchBar{"BrowserTouchBar",
76 base::FEATURE_ENABLED_BY_DEFAULT}; 82 base::FEATURE_ENABLED_BY_DEFAULT};
77 #endif // defined(OS_MACOSX) 83 #endif // defined(OS_MACOSX)
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 296 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
291 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 297 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
292 base::FEATURE_ENABLED_BY_DEFAULT}; 298 base::FEATURE_ENABLED_BY_DEFAULT};
293 299
294 // Enables or disables flash component updates on Chrome OS. 300 // Enables or disables flash component updates on Chrome OS.
295 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 301 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
296 base::FEATURE_ENABLED_BY_DEFAULT}; 302 base::FEATURE_ENABLED_BY_DEFAULT};
297 #endif // defined(OS_CHROMEOS) 303 #endif // defined(OS_CHROMEOS)
298 304
299 } // namespace features 305 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698