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

Side by Side Diff: chrome/common/extensions/api/management.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: Fixing issues with experimental_APIs 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":"management", 7 "namespace":"management",
8 "description": "The <code>chrome.management</code> module provides ways to m anage the list of extensions/apps that are installed and running. It is particul arly useful for extensions that <a href='override.html'>override</a> the built-i n New Tab page.",
8 "types": [ 9 "types": [
9 { 10 {
10 "id": "IconInfo", 11 "id": "IconInfo",
11 "description": "Information about an icon belonging to an extension, app , or theme.", 12 "description": "Information about an icon belonging to an extension, app , or theme.",
12 "type": "object", 13 "type": "object",
13 "properties": { 14 "properties": {
14 "size": { "type": "integer", "description": "A number representing the width and height of the icon. Likely values include (but are not limited to) 12 8, 48, 24, and 16." }, 15 "size": { "type": "integer", "description": "A number representing the width and height of the icon. Likely values include (but are not limited to) 12 8, 48, 24, and 16." },
15 "url": { "type": "string", "description": "The URL for this icon image . To display a grayscale version of the icon (to indicate that an extension is d isabled, for example), append <code>?grayscale=true</code> to the URL." } 16 "url": { "type": "string", "description": "The URL for this icon image . To display a grayscale version of the icon (to indicate that an extension is d isabled, for example), append <code>?grayscale=true</code> to the URL." }
16 } 17 }
17 }, 18 },
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 }, 322 },
322 { 323 {
323 "name": "onDisabled", 324 "name": "onDisabled",
324 "description": "Fired when an app or extension has been disabled.", 325 "description": "Fired when an app or extension has been disabled.",
325 "type": "function", 326 "type": "function",
326 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] 327 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}]
327 } 328 }
328 ] 329 ]
329 } 330 }
330 ] 331 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698