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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First round of changes Created 7 years, 9 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
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 "description": "Use the <code>chrome.runtime</code> module to retrieve the b ackground page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle.",
9 "availability": "Google Chrome 22",
8 "documentation_permissions_required": ["runtime"], 10 "documentation_permissions_required": ["runtime"],
9 "types": [ 11 "types": [
10 { 12 {
11 "id": "Port", 13 "id": "Port",
12 "type": "object", 14 "type": "object",
13 "description": "An object which allows two way communication with other pages.", 15 "description": "An object which allows two way communication with other pages.",
14 "properties": { 16 "properties": {
15 "name": {"type": "string"}, 17 "name": {"type": "string"},
16 "disconnect": { "type": "function" }, 18 "disconnect": { "type": "function" },
17 "onDisconnect": { "$ref": "events.Event" }, 19 "onDisconnect": { "$ref": "events.Event" },
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "optional": "true", 364 "optional": "true",
363 "description": "Return true from the event listener if you wish to cal l <code>sendResponse</code> after the event listener returns." 365 "description": "Return true from the event listener if you wish to cal l <code>sendResponse</code> after the event listener returns."
364 } 366 }
365 } 367 }
366 368
367 369
368 370
369 ] 371 ]
370 } 372 }
371 ] 373 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698