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

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

Issue 2477633003: [Mac] Add a feature flag to disable Javascript execution in Applescript (Closed)
Patch Set: Created 4 years, 1 month 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
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_MACOSX)
12 const base::Feature kApplescriptExecuteJavascript{
13 "ApplescriptExecuteJavascript", base::FEATURE_ENABLED_BY_DEFAULT};
14 #endif // defined(OS_MACOSX
15
11 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
12 // Whether to handle low memory kill of ARC apps by Chrome. 17 // Whether to handle low memory kill of ARC apps by Chrome.
13 const base::Feature kArcMemoryManagement{ 18 const base::Feature kArcMemoryManagement{
14 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT}; 19 "ArcMemoryManagement", base::FEATURE_ENABLED_BY_DEFAULT};
15 #endif // defined(OS_CHROMEOS) 20 #endif // defined(OS_CHROMEOS)
16 21
17 #if defined(OS_WIN) || defined(OS_MACOSX) 22 #if defined(OS_WIN) || defined(OS_MACOSX)
18 // Enables automatic tab discarding, when the system is in low memory state. 23 // Enables automatic tab discarding, when the system is in low memory state.
19 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", 24 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding",
20 base::FEATURE_ENABLED_BY_DEFAULT}; 25 base::FEATURE_ENABLED_BY_DEFAULT};
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // Enables or disables PIN quick unlock settings integration. 196 // Enables or disables PIN quick unlock settings integration.
192 const base::Feature kQuickUnlockPin{"QuickUnlockPin", 197 const base::Feature kQuickUnlockPin{"QuickUnlockPin",
193 base::FEATURE_DISABLED_BY_DEFAULT}; 198 base::FEATURE_DISABLED_BY_DEFAULT};
194 199
195 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 200 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
196 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 201 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
197 base::FEATURE_DISABLED_BY_DEFAULT}; 202 base::FEATURE_DISABLED_BY_DEFAULT};
198 #endif // defined(OS_CHROMEOS) 203 #endif // defined(OS_CHROMEOS)
199 204
200 } // namespace features 205 } // namespace features
OLDNEW
« chrome/common/chrome_features.h ('K') | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698