OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This features file defines extension APIs implemented under src/chrome. | 5 // This features file defines extension APIs implemented under src/chrome. |
6 // See extensions/common/features/* to understand this file, in particular | 6 // See extensions/common/features/* to understand this file, in particular |
7 // feature.h, simple_feature.h, and base_feature_provider.h. | 7 // feature.h, simple_feature.h, and base_feature_provider.h. |
8 // | 8 // |
9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "contexts": [ | 49 "contexts": [ |
50 "blessed_extension", | 50 "blessed_extension", |
51 "unblessed_extension", | 51 "unblessed_extension", |
52 "content_script", | 52 "content_script", |
53 "web_page", | 53 "web_page", |
54 "blessed_web_page" | 54 "blessed_web_page" |
55 ], | 55 ], |
56 // Any webpage can use the app API. | 56 // Any webpage can use the app API. |
57 "matches": ["<all_urls>"] | 57 "matches": ["<all_urls>"] |
58 }, | 58 }, |
| 59 // The API for the *embedder* of appview. Appview has both an embedder and |
| 60 // guest API, which are different. |
| 61 "appViewEmbedderInternal": { |
| 62 "internal": true, |
| 63 "contexts": ["blessed_extension"], |
| 64 "dependencies": ["permission:appview"] |
| 65 }, |
| 66 // TODO(fsamuel,kalman): Rename this appViewGuestInternal. |
59 "appViewInternal": { | 67 "appViewInternal": { |
60 "internal": true, | 68 "internal": true, |
61 "channel": "dev", | 69 "channel": "dev", |
62 "contexts": ["blessed_extension"] | 70 "contexts": ["blessed_extension"] |
63 }, | 71 }, |
64 "app.window": { | 72 "app.window": { |
65 "channel": "stable", | 73 "channel": "stable", |
66 "contexts": ["blessed_extension"], | 74 "contexts": ["blessed_extension"], |
67 "extension_types": ["platform_app"], | 75 "extension_types": ["platform_app"], |
68 "noparent": true | 76 "noparent": true |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 "internal": true, | 818 "internal": true, |
811 "channel": "stable", | 819 "channel": "stable", |
812 "dependencies": ["permission:webview"], | 820 "dependencies": ["permission:webview"], |
813 "contexts": ["blessed_extension"] | 821 "contexts": ["blessed_extension"] |
814 }, | 822 }, |
815 "windows": { | 823 "windows": { |
816 "dependencies": ["api:tabs"], | 824 "dependencies": ["api:tabs"], |
817 "contexts": ["blessed_extension"] | 825 "contexts": ["blessed_extension"] |
818 } | 826 } |
819 } | 827 } |
OLD | NEW |