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

Side by Side Diff: components/feature_engagement_tracker/public/feature_constants.h

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: tests Created 3 years, 5 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 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_TRACKER_PUBLIC_FEATURE_CONSTANTS_H_ 5 #ifndef COMPONENTS_FEATURE_ENGAGEMENT_TRACKER_PUBLIC_FEATURE_CONSTANTS_H_
6 #define COMPONENTS_FEATURE_ENGAGEMENT_TRACKER_PUBLIC_FEATURE_CONSTANTS_H_ 6 #define COMPONENTS_FEATURE_ENGAGEMENT_TRACKER_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_tracker { 11 namespace feature_engagement_tracker {
12 12
13 // A feature for enabling a demonstration mode for In-Product Help. 13 // A feature for enabling a demonstration mode for In-Product Help.
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_tracker.FeatureConstants. 21 // org.chromium.components.feature_engagement_tracker.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 kIPHMediaDownloadFeature;
28 #endif // defined(OS_ANDROID) 29 #endif // defined(OS_ANDROID)
29 30
30 #if defined(OS_WIN) || defined(OS_LINUX) 31 #if defined(OS_WIN) || defined(OS_LINUX)
31 extern const base::Feature kIPHIncognitoWindowFeature; 32 extern const base::Feature kIPHIncognitoWindowFeature;
32 extern const base::Feature kIPHNewTabFeature; 33 extern const base::Feature kIPHNewTabFeature;
33 #endif // defined(OS_WIN) || defined(OS_LINUX) 34 #endif // defined(OS_WIN) || defined(OS_LINUX)
34 35
35 } // namespace feature_engagement_tracker 36 } // namespace feature_engagement_tracker
36 37
37 #endif // COMPONENTS_FEATURE_ENGAGEMENT_TRACKER_PUBLIC_FEATURE_CONSTANTS_H_ 38 #endif // COMPONENTS_FEATURE_ENGAGEMENT_TRACKER_PUBLIC_FEATURE_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698