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

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

Issue 2245103002: [Merge to M53] Remove "Go Back/Forward" from keyboard overlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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_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_DISABLED_BY_DEFAULT};
21 #endif // defined(OS_WIN) || defined(OS_MACOSX) 21 #endif // defined(OS_WIN) || defined(OS_MACOSX)
22 22
23 // Enables the Backspace key to navigate back in the browser, as well as
24 // Shift+Backspace to navigate forward.
25 const base::Feature kBackspaceGoesBackFeature {
26 "BackspaceGoesBack", base::FEATURE_DISABLED_BY_DEFAULT
27 };
28
23 // Experiment to disable small cross-origin content. (http://crbug.com/608886) 29 // Experiment to disable small cross-origin content. (http://crbug.com/608886)
24 const base::Feature kBlockSmallContent{"BlockSmallPluginContent", 30 const base::Feature kBlockSmallContent{"BlockSmallPluginContent",
25 base::FEATURE_DISABLED_BY_DEFAULT}; 31 base::FEATURE_DISABLED_BY_DEFAULT};
26 32
27 // Fixes for browser hang bugs are deployed in a field trial in order to measure 33 // Fixes for browser hang bugs are deployed in a field trial in order to measure
28 // their impact. See crbug.com/478209. 34 // their impact. See crbug.com/478209.
29 const base::Feature kBrowserHangFixesExperiment{ 35 const base::Feature kBrowserHangFixesExperiment{
30 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 36 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
31 37
32 // Enables Expect CT reporting, which sends reports for opted-in sites 38 // Enables Expect CT reporting, which sends reports for opted-in sites
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 base::FEATURE_DISABLED_BY_DEFAULT}; 92 base::FEATURE_DISABLED_BY_DEFAULT};
87 #endif 93 #endif
88 94
89 #if defined(OS_CHROMEOS) 95 #if defined(OS_CHROMEOS)
90 // Enables or disables the opt-in IME menu in the language settings page. 96 // Enables or disables the opt-in IME menu in the language settings page.
91 const base::Feature kOptInImeMenu{"OptInImeMenu", 97 const base::Feature kOptInImeMenu{"OptInImeMenu",
92 base::FEATURE_DISABLED_BY_DEFAULT}; 98 base::FEATURE_DISABLED_BY_DEFAULT};
93 #endif // defined(OS_CHROMEOS) 99 #endif // defined(OS_CHROMEOS)
94 100
95 } // namespace features 101 } // 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