OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ | 5 #ifndef COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ |
6 #define COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ | 6 #define COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ |
7 | 7 |
8 #include "base/feature_list.h" | 8 #include "base/feature_list.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 namespace feature_engagement { | 11 namespace feature_engagement { |
12 | 12 |
13 // A feature for enabling a demonstration mode for In-Product Help (IPH). | 13 // A feature for enabling a demonstration mode for In-Product Help (IPH). |
14 extern const base::Feature kIPHDemoMode; | 14 extern const base::Feature kIPHDemoMode; |
15 | 15 |
16 // A feature to ensure all arrays can contain at least one feature. | 16 // A feature to ensure all arrays can contain at least one feature. |
17 extern const base::Feature kIPHDummyFeature; | 17 extern const base::Feature kIPHDummyFeature; |
18 | 18 |
19 // All the features declared for Android below that are also used in Java, | 19 // All the features declared for Android below that are also used in Java, |
20 // should also be declared in: | 20 // should also be declared in: |
21 // org.chromium.components.feature_engagement.FeatureConstants. | 21 // org.chromium.components.feature_engagement.FeatureConstants. |
22 #if defined(OS_ANDROID) | 22 #if defined(OS_ANDROID) |
23 extern const base::Feature kIPHDataSaverDetailFeature; | 23 extern const base::Feature kIPHDataSaverDetailFeature; |
24 extern const base::Feature kIPHDataSaverPreviewFeature; | 24 extern const base::Feature kIPHDataSaverPreviewFeature; |
25 extern const base::Feature kIPHDownloadHomeFeature; | 25 extern const base::Feature kIPHDownloadHomeFeature; |
26 extern const base::Feature kIPHDownloadPageFeature; | 26 extern const base::Feature kIPHDownloadPageFeature; |
27 extern const base::Feature kIPHDownloadPageScreenshotFeature; | 27 extern const base::Feature kIPHDownloadPageScreenshotFeature; |
28 extern const base::Feature kIPHChromeHomeExpandFeature; | 28 extern const base::Feature kIPHChromeHomeExpandFeature; |
| 29 extern const base::Feature kIPHMediaDownloadFeature; |
29 #endif // defined(OS_ANDROID) | 30 #endif // defined(OS_ANDROID) |
30 | 31 |
31 #if defined(OS_WIN) || defined(OS_LINUX) | 32 #if defined(OS_WIN) || defined(OS_LINUX) |
32 extern const base::Feature kIPHIncognitoWindowFeature; | 33 extern const base::Feature kIPHIncognitoWindowFeature; |
33 extern const base::Feature kIPHNewTabFeature; | 34 extern const base::Feature kIPHNewTabFeature; |
34 #endif // defined(OS_WIN) || defined(OS_LINUX) | 35 #endif // defined(OS_WIN) || defined(OS_LINUX) |
35 | 36 |
36 #if defined(OS_IOS) | 37 #if defined(OS_IOS) |
37 extern const base::Feature kIPHNewTabTipFeature; | 38 extern const base::Feature kIPHNewTabTipFeature; |
38 extern const base::Feature kIPHNewIncognitoTabTipFeature; | 39 extern const base::Feature kIPHNewIncognitoTabTipFeature; |
39 extern const base::Feature kIPHBadgedReadingListFeature; | 40 extern const base::Feature kIPHBadgedReadingListFeature; |
40 #endif // defined(OS_IOS) | 41 #endif // defined(OS_IOS) |
41 | 42 |
42 } // namespace feature_engagement | 43 } // namespace feature_engagement |
43 | 44 |
44 #endif // COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ | 45 #endif // COMPONENTS_FEATURE_ENGAGEMENT_PUBLIC_FEATURE_CONSTANTS_H_ |
OLD | NEW |