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

Side by Side Diff: content/public/common/content_features.h

Issue 1771223002: Migrate *-ime-thread switches to feature API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 content 5 // This file defines all the public base::FeatureList features for the content
6 // module. 6 // module.
7 7
8 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
9 #define CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 9 #define CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
10 10
11 #include "base/feature_list.h" 11 #include "base/feature_list.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 14
15 namespace features { 15 namespace features {
16 16
17 // All features in alphabetical order. The features should be documented 17 // All features in alphabetical order. The features should be documented
18 // alongside the definition of their values in the .cc file. 18 // alongside the definition of their values in the .cc file.
19 CONTENT_EXPORT extern const base::Feature kBrotliEncoding; 19 CONTENT_EXPORT extern const base::Feature kBrotliEncoding;
20 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI; 20 CONTENT_EXPORT extern const base::Feature kCredentialManagementAPI;
21 CONTENT_EXPORT extern const base::Feature kDownloadResumption; 21 CONTENT_EXPORT extern const base::Feature kDownloadResumption;
22 CONTENT_EXPORT extern const base::Feature kExperimentalFramework; 22 CONTENT_EXPORT extern const base::Feature kExperimentalFramework;
23 #if defined(OS_ANDROID)
24 CONTENT_EXPORT extern const base::Feature kImeThread;
Ted C 2016/03/08 21:49:43 looks like this should go in the ifdef below
Changwan Ryu 2016/03/09 01:43:56 Done.
25 #endif
23 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent; 26 CONTENT_EXPORT extern const base::Feature kNonValidatingReloadOnRefreshContent;
24 CONTENT_EXPORT extern const base::Feature kOptimizeIPCForSmallResource; 27 CONTENT_EXPORT extern const base::Feature kOptimizeIPCForSmallResource;
25 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling; 28 CONTENT_EXPORT extern const base::Feature kRenderingPipelineThrottling;
26 CONTENT_EXPORT extern const base::Feature kScrollAnchoring; 29 CONTENT_EXPORT extern const base::Feature kScrollAnchoring;
27 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate; 30 CONTENT_EXPORT extern const base::Feature kStaleWhileRevalidate;
28 CONTENT_EXPORT extern const base::Feature kTokenBinding; 31 CONTENT_EXPORT extern const base::Feature kTokenBinding;
29 CONTENT_EXPORT extern const base::Feature kUpdateRendererPriorityOnStartup; 32 CONTENT_EXPORT extern const base::Feature kUpdateRendererPriorityOnStartup;
30 CONTENT_EXPORT extern const base::Feature kWebFontsIntervention; 33 CONTENT_EXPORT extern const base::Feature kWebFontsIntervention;
31 34
32 #if defined(OS_ANDROID) 35 #if defined(OS_ANDROID)
33 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid; 36 CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
34 #endif // defined(OS_ANDROID) 37 #endif // defined(OS_ANDROID)
35 38
36 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in 39 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
37 // alphabetical order, or in one of the ifdefs (also in order in each section). 40 // alphabetical order, or in one of the ifdefs (also in order in each section).
38 41
39 } // namespace features 42 } // namespace features
40 43
41 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_ 44 #endif // CONTENT_PUBLIC_COMMON_CONTENT_FEATURES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698