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

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

Issue 1814983003: Add an experimental keyboard lock, where Esc must be held to exit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit Created 4 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') | 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_WIN) || defined(OS_MACOSX) 11 #if defined(OS_WIN) || defined(OS_MACOSX)
12 // Enables automatic tab discarding, when the system is in low memory state. 12 // Enables automatic tab discarding, when the system is in low memory state.
13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding",
14 base::FEATURE_DISABLED_BY_DEFAULT}; 14 base::FEATURE_DISABLED_BY_DEFAULT};
15 #endif // defined(OS_WIN) || defined(OS_MACOSX) 15 #endif // defined(OS_WIN) || defined(OS_MACOSX)
16 16
17 // An experimental fullscreen prototype that allows pages to map browser- and
sky 2016/03/23 23:46:10 'browser-' -> 'browser'
dominickn 2016/03/24 03:03:53 Done.
18 // system-reserved keyboard shortcuts.
19 const base::Feature kExperimentalKeyboardLockUI{
20 "ExperimentalKeyboardLockUI", base::FEATURE_DISABLED_BY_DEFAULT};
21
17 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 22 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
18 // Enables showing the "This computer will no longer receive Google Chrome 23 // Enables showing the "This computer will no longer receive Google Chrome
19 // updates" infobar instead of the "will soon stop receiving" infobar on 24 // updates" infobar instead of the "will soon stop receiving" infobar on
20 // deprecated systems. 25 // deprecated systems.
21 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ 26 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
22 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; 27 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT};
23 #endif 28 #endif
24 29
25 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
26 // Runtime flag that indicates whether this leak detector should be enabled in 31 // Runtime flag that indicates whether this leak detector should be enabled in
(...skipping 10 matching lines...) Expand all
37 #if defined(USE_AURA) 42 #if defined(USE_AURA)
38 // Windows, Linux, Chrome OS. 43 // Windows, Linux, Chrome OS.
39 base::FEATURE_ENABLED_BY_DEFAULT, 44 base::FEATURE_ENABLED_BY_DEFAULT,
40 #else 45 #else
41 // Mac, Android. 46 // Mac, Android.
42 base::FEATURE_DISABLED_BY_DEFAULT, 47 base::FEATURE_DISABLED_BY_DEFAULT,
43 #endif 48 #endif
44 }; 49 };
45 50
46 } // namespace features 51 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698