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

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

Issue 12223068: Fix some typos, broken links and other issues in extension docs (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome/common/extensions/api/page_action.json ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "runtime", 7 "namespace": "runtime",
8 "dependencies": [ "events", "tabs" ], 8 "dependencies": [ "events", "tabs" ],
9 "documentation_permissions_required": ["runtime"], 9 "documentation_permissions_required": ["runtime"],
10 "types": [ 10 "types": [
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 ] 278 ]
279 }, 279 },
280 { 280 {
281 "name": "onSuspend", 281 "name": "onSuspend",
282 "type": "function", 282 "type": "function",
283 "description": "Sent to the event page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that since the page is unloading, any asynchronous operations started while handling this event are no t guaranteed to complete. If more activity for the event page occurs before it g ets unloaded the onSuspendCanceled event will be sent and the page won't be unlo aded. " 283 "description": "Sent to the event page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that since the page is unloading, any asynchronous operations started while handling this event are no t guaranteed to complete. If more activity for the event page occurs before it g ets unloaded the onSuspendCanceled event will be sent and the page won't be unlo aded. "
284 }, 284 },
285 { 285 {
286 "name": "onSuspendCanceled", 286 "name": "onSuspendCanceled",
287 "type": "function", 287 "type": "function",
288 "description": "Sent after onSuspend() to indicate that the app won't be unloaded after all." 288 "description": "Sent after onSuspend to indicate that the app won't be u nloaded after all."
289 }, 289 },
290 { 290 {
291 "name": "onUpdateAvailable", 291 "name": "onUpdateAvailable",
292 "type": "function", 292 "type": "function",
293 "description": "Fired when an update is available, but isn't installed i mmediately because the app is currently running. If you do nothing, the update w ill be installed the next time the background page gets unloaded, if you want it to be installed sooner you can explicitly call chrome.runtime.reload().", 293 "description": "Fired when an update is available, but isn't installed i mmediately because the app is currently running. If you do nothing, the update w ill be installed the next time the background page gets unloaded, if you want it to be installed sooner you can explicitly call chrome.runtime.reload().",
294 "parameters": [ 294 "parameters": [
295 { 295 {
296 "type": "object", 296 "type": "object",
297 "name": "details", 297 "name": "details",
298 "properties": { 298 "properties": {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 "optional": "true", 357 "optional": "true",
358 "description": "Return true from the event listener if you wish to cal l <code>sendResponse</code> after the event listener returns." 358 "description": "Return true from the event listener if you wish to cal l <code>sendResponse</code> after the event listener returns."
359 } 359 }
360 } 360 }
361 361
362 362
363 363
364 ] 364 ]
365 } 365 }
366 ] 366 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/page_action.json ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698