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

Unified Diff: chrome/common/extensions/api/_api_features.json

Issue 13604005: Prevent chrome.app JSON schema from loading on every page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: register bindings only for APIs available to the context Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/api/app.json » ('j') | chrome/renderer/extensions/dispatcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/_api_features.json
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json
index 1ed10171a0889b7bd472b579b1e1d9d93f2a9366..e8d9acdd2f4215936e29741018e36beb8bf4dab7 100644
--- a/chrome/common/extensions/api/_api_features.json
+++ b/chrome/common/extensions/api/_api_features.json
@@ -3,6 +3,26 @@
// found in the LICENSE file.
{
+ "app": {
+ "channel": "stable",
+ "extension_types": ["hosted_app", "extension"],
not at google - send to devlin 2013/04/19 18:43:42 this also needs packaged_app
cduvall 2013/04/24 01:34:01 Done.
+ "contexts": [
+ "blessed_extension", "unblessed_extension", "content_script", "web_page"
+ ],
+ "matches": [
+ "http://*/*", "https://*/*", "chrome-extension://*/*", "file://*/*"
+ ]
+ },
+ "app.runtime": {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "dependencies": ["permission:app.runtime"]
+ },
+ "app.window": {
+ "channel": "stable",
+ "contexts": ["blessed_extension"],
+ "dependencies": ["permission:app.window"]
+ },
"app.currentWindowInternal": {
"internal": true,
"channel": "stable",
@@ -21,7 +41,9 @@
"events": {
"internal": true,
"channel": "stable",
- "contexts": ["blessed_extension", "unblessed_extension", "content_script", "web_page"],
+ "contexts": [
+ "blessed_extension", "unblessed_extension", "content_script", "web_page"
+ ],
"matches": ["<all_urls>"]
},
"fileBrowserHandlerInternal": {
@@ -40,6 +62,6 @@
"extension_types": ["hosted_app"],
"contexts": ["blessed_extension", "web_page"],
// Any webpage can use the webstore API.
- "matches": [ "http://*/*", "https://*/*" ]
+ "matches": ["http://*/*", "https://*/*"]
}
}
« no previous file with comments | « no previous file | chrome/common/extensions/api/app.json » ('j') | chrome/renderer/extensions/dispatcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698