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

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

Issue 2724923004: cocoa: add --use-views-task-manager (Closed)
Patch Set: add histogram enum entries 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') | tools/metrics/histograms/histograms.xml » ('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 {
11 11
12 // All features in alphabetical order. 12 // All features in alphabetical order.
13 13
14 #if defined(OS_ANDROID) 14 #if defined(OS_ANDROID)
15 const base::Feature kAllowAutoplayUnmutedInWebappManifestScope{ 15 const base::Feature kAllowAutoplayUnmutedInWebappManifestScope{
16 "AllowAutoplayUnmutedInWebappManifestScope", 16 "AllowAutoplayUnmutedInWebappManifestScope",
17 base::FEATURE_ENABLED_BY_DEFAULT}; 17 base::FEATURE_ENABLED_BY_DEFAULT};
18 #endif // defined(OS_ANDROID) 18 #endif // defined(OS_ANDROID)
19 19
20 #if defined(OS_MACOSX) 20 #if defined(OS_MACOSX)
21 // Enables Javascript execution via AppleScript. 21 // Enables Javascript execution via AppleScript.
22 const base::Feature kAppleScriptExecuteJavaScript{ 22 const base::Feature kAppleScriptExecuteJavaScript{
23 "AppleScriptExecuteJavaScript", base::FEATURE_ENABLED_BY_DEFAULT}; 23 "AppleScriptExecuteJavaScript", base::FEATURE_ENABLED_BY_DEFAULT};
24
25 // Use the Toolkit-Views Task Manager window.
26 const base::Feature kViewsTaskManager{"ViewsTaskManager",
27 base::FEATURE_DISABLED_BY_DEFAULT};
24 #endif // defined(OS_MACOSX) 28 #endif // defined(OS_MACOSX)
25 29
26 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
27 // Whether to handle low memory kill of ARC apps by Chrome. 31 // Whether to handle low memory kill of ARC apps by Chrome.
28 const base::Feature kArcMemoryManagement{ 32 const base::Feature kArcMemoryManagement{
29 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; 33 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT};
30 #endif // defined(OS_CHROMEOS) 34 #endif // defined(OS_CHROMEOS)
31 35
32 // If enabled, the list of content suggestions on the New Tab page will contain 36 // If enabled, the list of content suggestions on the New Tab page will contain
33 // assets (e.g. books, pictures, audio) that the user downloaded for later use. 37 // assets (e.g. books, pictures, audio) that the user downloaded for later use.
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 298 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
295 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 299 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
296 base::FEATURE_ENABLED_BY_DEFAULT}; 300 base::FEATURE_ENABLED_BY_DEFAULT};
297 301
298 // Enables or disables flash component updates on Chrome OS. 302 // Enables or disables flash component updates on Chrome OS.
299 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 303 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
300 base::FEATURE_ENABLED_BY_DEFAULT}; 304 base::FEATURE_ENABLED_BY_DEFAULT};
301 #endif // defined(OS_CHROMEOS) 305 #endif // defined(OS_CHROMEOS)
302 306
303 } // namespace features 307 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698