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

Side by Side Diff: chrome/common/extensions/api/_features.md

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
OLDNEW
1 # Extension Features Files 1 # Extension Features Files
2 2
3 [TOC] 3 [TOC]
4 4
5 ## Summary 5 ## Summary
6 6
7 The Extension features files specify the different requirements for extension 7 The Extension features files specify the different requirements for extension
8 feature availability. 8 feature availability.
9 9
10 An **extension feature** can be any component of extension capabilities. Most 10 An **extension feature** can be any component of extension capabilities. Most
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 The only accepted value is the bool `false` (since true is the default). 199 The only accepted value is the bool `false` (since true is the default).
200 200
201 ### contexts 201 ### contexts
202 202
203 The `contexts` property specifies which JavaScript contexts can access the 203 The `contexts` property specifies which JavaScript contexts can access the
204 feature. All API features must specify at least one context, and only API 204 feature. All API features must specify at least one context, and only API
205 features can specify contexts. 205 features can specify contexts.
206 206
207 Accepted values are a list of strings from `blessed_extension`, 207 Accepted values are a list of strings from `blessed_extension`,
208 `blessed_web_page`, `content_script`, `extension_service_worker`, 208 `blessed_web_page`, `content_script`, `extension_service_worker`,
209 `web_page`, `webui`, and `unblessed_extension`. 209 `lock_screen_extension`, `web_page`, `webui`, and `unblessed_extension`.
Devlin 2017/06/01 22:17:58 will there be any other type of context on the loc
tbarzic 2017/06/02 00:49:05 I was thinking about adding it to session type, bu
210 210
211 ### default\_parent 211 ### default\_parent
212 212
213 The `default_parent` property specifies a feature definition from a complex 213 The `default_parent` property specifies a feature definition from a complex
214 feature to be used as the parent for any children. See also Inheritance. 214 feature to be used as the parent for any children. See also Inheritance.
215 215
216 The only accepted value is the bool `true`. 216 The only accepted value is the bool `true`.
217 217
218 ### dependencies 218 ### dependencies
219 219
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 at runtime, this has the added benefit of allowing us to validate at compile 449 at runtime, this has the added benefit of allowing us to validate at compile
450 time rather than needing a unittest (or allowing incorrect features). 450 time rather than needing a unittest (or allowing incorrect features).
451 451
452 In theory, invalid features should result in a compilation failure; in practice, 452 In theory, invalid features should result in a compilation failure; in practice,
453 the compiler is probably missing some cases. 453 the compiler is probably missing some cases.
454 454
455 ## Still to come 455 ## Still to come
456 456
457 TODO(devlin): Add documentation for extension types. Probably also more on 457 TODO(devlin): Add documentation for extension types. Probably also more on
458 requirements for individual features. 458 requirements for individual features.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698