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

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

Issue 2477633003: [Mac] Add a feature flag to disable Javascript execution in Applescript (Closed)
Patch Set: nit 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 // This file defines all the public base::FeatureList features for the chrome 5 // This file defines all the public base::FeatureList features for the chrome
6 // module. 6 // module.
7 7
8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ 8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_
9 #define CHROME_COMMON_CHROME_FEATURES_H_ 9 #define CHROME_COMMON_CHROME_FEATURES_H_
10 10
11 #include "base/feature_list.h" 11 #include "base/feature_list.h"
12 12
13 namespace features { 13 namespace features {
14 14
15 // All features in alphabetical order. The features should be documented 15 // All features in alphabetical order. The features should be documented
16 // alongside the definition of their values in the .cc file. 16 // alongside the definition of their values in the .cc file.
17 17
18 #if defined(OS_MACOSX)
19 extern const base::Feature kAppleScriptExecuteJavaScript;
20 #endif // defined(OS_MACOSX)
21
18 #if defined(OS_CHROMEOS) 22 #if defined(OS_CHROMEOS)
19 extern const base::Feature kArcMemoryManagement; 23 extern const base::Feature kArcMemoryManagement;
20 #endif // defined(OS_CHROMEOS) 24 #endif // defined(OS_CHROMEOS)
21 25
22 #if defined(OS_WIN) || defined(OS_MACOSX) 26 #if defined(OS_WIN) || defined(OS_MACOSX)
23 extern const base::Feature kAutomaticTabDiscarding; 27 extern const base::Feature kAutomaticTabDiscarding;
24 #endif // defined(OS_WIN) || defined(OS_MACOSX) 28 #endif // defined(OS_WIN) || defined(OS_MACOSX)
25 29
26 #if defined(OS_WIN) || defined(OS_LINUX) 30 #if defined(OS_WIN) || defined(OS_LINUX)
27 extern const base::Feature kBackgroundModeAllowRestart; 31 extern const base::Feature kBackgroundModeAllowRestart;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 118
115 extern const base::Feature kEHVInputOnImeMenu; 119 extern const base::Feature kEHVInputOnImeMenu;
116 #endif // defined(OS_CHROMEOS) 120 #endif // defined(OS_CHROMEOS)
117 121
118 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 122 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
119 // alphabetical order, or in one of the ifdefs (also in order in each section). 123 // alphabetical order, or in one of the ifdefs (also in order in each section).
120 124
121 } // namespace features 125 } // namespace features
122 126
123 #endif // CHROME_COMMON_CHROME_FEATURES_H_ 127 #endif // CHROME_COMMON_CHROME_FEATURES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/applescript/tab_applescript.mm ('k') | chrome/common/chrome_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698