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

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

Issue 2373653002: [TabManager] Enable tab discarding by default. (Closed)
Patch Set: . Created 4 years, 2 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/browser/memory/tab_manager_unittest.cc ('k') | no next file » | 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 namespace features { 7 namespace features {
8 8
9 // All features in alphabetical order. 9 // All features in alphabetical order.
10 10
11 #if defined(OS_CHROMEOS) 11 #if defined(OS_CHROMEOS)
12 // Whether to handle low memory kill of ARC apps by Chrome. 12 // Whether to handle low memory kill of ARC apps by Chrome.
13 const base::Feature kArcMemoryManagement{ 13 const base::Feature kArcMemoryManagement{
14 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; 14 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT};
15 #endif // defined(OS_CHROMEOS) 15 #endif // defined(OS_CHROMEOS)
16 16
17 #if defined(OS_WIN) || defined(OS_MACOSX) 17 #if defined(OS_WIN) || defined(OS_MACOSX)
18 // Enables automatic tab discarding, when the system is in low memory state. 18 // Enables automatic tab discarding, when the system is in low memory state.
19 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", 19 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding",
20 base::FEATURE_DISABLED_BY_DEFAULT}; 20 base::FEATURE_ENABLED_BY_DEFAULT};
21 #endif // defined(OS_WIN) || defined(OS_MACOSX) 21 #endif // defined(OS_WIN) || defined(OS_MACOSX)
22 22
23 #if defined(OS_WIN) || defined(OS_LINUX) 23 #if defined(OS_WIN) || defined(OS_LINUX)
24 // Enables the Restart background mode optimization. When all Chrome UI is 24 // Enables the Restart background mode optimization. When all Chrome UI is
25 // closed and it goes in the background, allows to restart the browser to 25 // closed and it goes in the background, allows to restart the browser to
26 // discard memory. 26 // discard memory.
27 const base::Feature kBackgroundModeAllowRestart{ 27 const base::Feature kBackgroundModeAllowRestart{
28 "BackgroundModeAllowRestart", base::FEATURE_DISABLED_BY_DEFAULT}; 28 "BackgroundModeAllowRestart", base::FEATURE_DISABLED_BY_DEFAULT};
29 #endif // defined(OS_WIN) || defined(OS_LINUX) 29 #endif // defined(OS_WIN) || defined(OS_LINUX)
30 30
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Enables or disables PIN quick unlock settings integration. 144 // Enables or disables PIN quick unlock settings integration.
145 const base::Feature kQuickUnlockPin{"QuickUnlockPin", 145 const base::Feature kQuickUnlockPin{"QuickUnlockPin",
146 base::FEATURE_DISABLED_BY_DEFAULT}; 146 base::FEATURE_DISABLED_BY_DEFAULT};
147 147
148 // Enables or disables PIN quick unlock settings integration. 148 // Enables or disables PIN quick unlock settings integration.
149 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 149 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
150 base::FEATURE_DISABLED_BY_DEFAULT}; 150 base::FEATURE_DISABLED_BY_DEFAULT};
151 #endif // defined(OS_CHROMEOS) 151 #endif // defined(OS_CHROMEOS)
152 152
153 } // namespace features 153 } // namespace features
OLDNEW
« no previous file with comments | « chrome/browser/memory/tab_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698