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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 "contexts": [ | 51 "contexts": [ |
52 "blessed_extension", | 52 "blessed_extension", |
53 "unblessed_extension", | 53 "unblessed_extension", |
54 "content_script", | 54 "content_script", |
55 "web_page", | 55 "web_page", |
56 "blessed_web_page" | 56 "blessed_web_page" |
57 ], | 57 ], |
58 // Any webpage can use the app API. | 58 // Any webpage can use the app API. |
59 "matches": ["<all_urls>"] | 59 "matches": ["<all_urls>"] |
60 }, | 60 }, |
61 // The API for the *embedder* of appview. Appview has both an embedder and | |
62 // guest API, which are different. | |
63 "appViewEmbedderInternal": { | |
64 "internal": true, | |
65 "contexts": ["blessed_extension"], | |
66 "dependencies": ["permission:appview"] | |
67 }, | |
68 // TODO(fsamuel,kalman): Rename this appViewGuestInternal. | |
69 "appViewInternal": { | |
70 "internal": true, | |
71 "channel": "dev", | |
72 "contexts": ["blessed_extension"] | |
73 }, | |
74 "app.getDetails": { | 61 "app.getDetails": { |
75 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], | 62 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], |
76 "matches": [] | 63 "matches": [] |
77 }, | 64 }, |
78 "app.getDetailsForFrame": { | 65 "app.getDetailsForFrame": { |
79 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], | 66 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], |
80 "matches": [] | 67 "matches": [] |
81 }, | 68 }, |
82 "app.getIsInstalled": { | 69 "app.getIsInstalled": { |
83 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], | 70 "contexts": ["blessed_extension", "unblessed_extension", "content_script"], |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 "internal": true, | 713 "internal": true, |
727 "channel": "stable", | 714 "channel": "stable", |
728 "dependencies": ["permission:webview"], | 715 "dependencies": ["permission:webview"], |
729 "contexts": ["blessed_extension"] | 716 "contexts": ["blessed_extension"] |
730 }, | 717 }, |
731 "windows": { | 718 "windows": { |
732 "dependencies": ["api:tabs"], | 719 "dependencies": ["api:tabs"], |
733 "contexts": ["blessed_extension"] | 720 "contexts": ["blessed_extension"] |
734 } | 721 } |
735 } | 722 } |
OLD | NEW |