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

Side by Side Diff: extensions/common/features/feature.h

Issue 2892403002: Introduce lock screen app context to extension features (Closed)
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_COMMON_FEATURES_FEATURE_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_FEATURE_H_ 6 #define EXTENSIONS_COMMON_FEATURES_FEATURE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 // The JavaScript contexts the feature is supported in. 31 // The JavaScript contexts the feature is supported in.
32 enum Context { 32 enum Context {
33 UNSPECIFIED_CONTEXT, 33 UNSPECIFIED_CONTEXT,
34 BLESSED_EXTENSION_CONTEXT, 34 BLESSED_EXTENSION_CONTEXT,
35 UNBLESSED_EXTENSION_CONTEXT, 35 UNBLESSED_EXTENSION_CONTEXT,
36 CONTENT_SCRIPT_CONTEXT, 36 CONTENT_SCRIPT_CONTEXT,
37 WEB_PAGE_CONTEXT, 37 WEB_PAGE_CONTEXT,
38 BLESSED_WEB_PAGE_CONTEXT, 38 BLESSED_WEB_PAGE_CONTEXT,
39 WEBUI_CONTEXT, 39 WEBUI_CONTEXT,
40 SERVICE_WORKER_CONTEXT, 40 SERVICE_WORKER_CONTEXT,
41 LOCK_SCREEN_EXTENSION_CONTEXT,
41 }; 42 };
42 43
43 // The platforms the feature is supported in. 44 // The platforms the feature is supported in.
44 enum Platform { 45 enum Platform {
45 UNSPECIFIED_PLATFORM, 46 UNSPECIFIED_PLATFORM,
46 CHROMEOS_PLATFORM, 47 CHROMEOS_PLATFORM,
47 LINUX_PLATFORM, 48 LINUX_PLATFORM,
48 MACOSX_PLATFORM, 49 MACOSX_PLATFORM,
49 WIN_PLATFORM 50 WIN_PLATFORM
50 }; 51 };
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 protected: 154 protected:
154 std::string name_; 155 std::string name_;
155 std::string alias_; 156 std::string alias_;
156 std::string source_; 157 std::string source_;
157 bool no_parent_; 158 bool no_parent_;
158 }; 159 };
159 160
160 } // namespace extensions 161 } // namespace extensions
161 162
162 #endif // EXTENSIONS_COMMON_FEATURES_FEATURE_H_ 163 #endif // EXTENSIONS_COMMON_FEATURES_FEATURE_H_
OLDNEW
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698