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

Side by Side Diff: chrome/common/extensions/api/runtime.json

Issue 10310182: Hack to restrict runtime API to dev channel rather than experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: docs Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
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 [ 5 [
6 { 6 {
7 "namespace": "experimental.runtime", 7 "namespace": "runtime",
8 "documentation_permissions_required": ["runtime"],
8 "functions": [ 9 "functions": [
9 { 10 {
10 "name": "getBackgroundPage", 11 "name": "getBackgroundPage",
11 "type": "function", 12 "type": "function",
12 "description": "Retrieves the JavaScript 'window' object for the backgro und page running inside the current extension. If the background page is transie nt, the system will ensure it is loaded before calling the callback. If there is no background page, an error is set.", 13 "description": "Retrieves the JavaScript 'window' object for the backgro und page running inside the current extension. If the background page is transie nt, the system will ensure it is loaded before calling the callback. If there is no background page, an error is set.",
13 "parameters": [ 14 "parameters": [
14 { 15 {
15 "type": "function", 16 "type": "function",
16 "name": "callback", 17 "name": "callback",
17 "parameters": [ 18 "parameters": [
(...skipping 19 matching lines...) Expand all
37 "description": "Fired when the extension is first installed." 38 "description": "Fired when the extension is first installed."
38 }, 39 },
39 { 40 {
40 "name": "onBackgroundPageUnloadingSoon", 41 "name": "onBackgroundPageUnloadingSoon",
41 "type": "function", 42 "type": "function",
42 "description": "Sent to the transient background page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that si nce the page is unloading, any asynchronous operations started while handling th is event are not guaranteed to complete." 43 "description": "Sent to the transient background page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that si nce the page is unloading, any asynchronous operations started while handling th is event are not guaranteed to complete."
43 } 44 }
44 ] 45 ]
45 } 46 }
46 ] 47 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.cc ('k') | chrome/common/extensions/docs/api_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698