OLD | NEW |
---|---|
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 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
109 extern const base::Feature kMediaRemoting; | 109 extern const base::Feature kMediaRemoting; |
110 extern const base::Feature kMediaRemotingEncrypted; | 110 extern const base::Feature kMediaRemotingEncrypted; |
111 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 111 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
112 | 112 |
113 extern const base::Feature kModalPermissionPrompts; | 113 extern const base::Feature kModalPermissionPrompts; |
114 | 114 |
115 #if defined(OS_WIN) | 115 #if defined(OS_WIN) |
116 extern const base::Feature kModuleDatabase; | 116 extern const base::Feature kModuleDatabase; |
117 #endif | 117 #endif |
118 | 118 |
119 #if defined(OS_MACOSX) | 119 #if defined(OS_MACOSX) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |
120 extern const base::Feature kNativeNotifications; | 120 extern const base::Feature kNativeNotifications; |
121 #endif // defined(OS_MACOSX) | 121 #endif // defined(OS_MACOSX) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |
Lei Zhang
2017/04/04 07:47:22
BTW, my style opinion is: for one line bodies that
Peter Beverloo
2017/04/04 13:34:46
+1
Tom (Use chromium acct)
2017/04/04 21:47:11
Done.
| |
122 | 122 |
123 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; | 123 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; |
124 | 124 |
125 extern const base::Feature kPermissionsBlacklist; | 125 extern const base::Feature kPermissionsBlacklist; |
126 | 126 |
127 #if defined(OS_WIN) | 127 #if defined(OS_WIN) |
128 extern const base::Feature kPostScriptPrinting; | 128 extern const base::Feature kPostScriptPrinting; |
129 #endif | 129 #endif |
130 | 130 |
131 #if BUILDFLAG(ENABLE_PLUGINS) | 131 #if BUILDFLAG(ENABLE_PLUGINS) |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
177 #endif // defined(OS_CHROMEOS) | 177 #endif // defined(OS_CHROMEOS) |
178 | 178 |
179 bool PrefServiceEnabled(); | 179 bool PrefServiceEnabled(); |
180 | 180 |
181 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 181 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
182 // alphabetical order, or in one of the ifdefs (also in order in each section). | 182 // alphabetical order, or in one of the ifdefs (also in order in each section). |
183 | 183 |
184 } // namespace features | 184 } // namespace features |
185 | 185 |
186 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 186 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |