Chromium Code Reviews| Index: gpu/config/gpu_features.h |
| diff --git a/gpu/config/gpu_features.h b/gpu/config/gpu_features.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3e60e461ff54600d0c2a0c44da36f08da5f3c216 |
| --- /dev/null |
| +++ b/gpu/config/gpu_features.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// This file defines all the public base::FeatureList features for the gpu |
|
Zhenyao Mo
2017/02/03 23:57:32
What about be more specific to avoid confusion? M
ericrk
2017/02/06 19:51:38
sgtm.
|
| +// module. |
| + |
| +#ifndef GPU_CONFIG_GPU_FEATURES_H_ |
| +#define GPU_CONFIG_GPU_FEATURES_H_ |
| + |
| +#include "base/feature_list.h" |
| +#include "gpu/gpu_export.h" |
| + |
| +namespace features { |
| + |
| +// All features in alphabetical order. The features should be documented |
| +// alongside the definition of their values in the .cc file. |
| +GPU_EXPORT extern const base::Feature kDefaultEnableGpuRasterization; |
| + |
| +} // namespace features |
| + |
| +#endif // GPU_CONFIG_GPU_FEATURES_H_ |