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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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": "pageActions", 7 "namespace": "pageActions",
8 "nodoc": true, 8 "description": "none",
9 "maximumManifestVersion": 1, 9 "maximumManifestVersion": 1,
10 "types": [],
11 "functions": [ 10 "functions": [
12 { 11 {
13 "name": "enableForTab", 12 "name": "enableForTab",
14 "type": "function", 13 "type": "function",
15 "description": "Enables a page action for a particular tab+URL combinati on (makes its icon visible in the OmniBox when a certain URL is active in a give n tab). The page action will automatically be disabled (its icon hidden) if the user navigates to a new URL or closes the tab. The action will also automaticall y be enabled/disabled as the user switches tabs.", 14 "description": "Enables a page action for a particular tab+URL combinati on (makes its icon visible in the OmniBox when a certain URL is active in a give n tab). The page action will automatically be disabled (its icon hidden) if the user navigates to a new URL or closes the tab. The action will also automaticall y be enabled/disabled as the user switches tabs.",
16 "parameters": [ 15 "parameters": [
17 {"type": "string", "name": "pageActionId", "description": "An extensio n can have multiple page actions specified in the manifest, each with a unique i dentifier. This string identifies which page action you want to enable (and must match a page action id declared in the manifest)."}, 16 {"type": "string", "name": "pageActionId", "description": "An extensio n can have multiple page actions specified in the manifest, each with a unique i dentifier. This string identifies which page action you want to enable (and must match a page action id declared in the manifest)."},
18 { 17 {
19 "type": "object", 18 "type": "object",
20 "name": "action", 19 "name": "action",
(...skipping 23 matching lines...) Expand all
44 "url": {"type": "string", "description": "The URL of the page you want the page action to not apply to. If the URL specified does not match the cu rrently navigated URL (user has navigated to another page) then no action is tak en."} 43 "url": {"type": "string", "description": "The URL of the page you want the page action to not apply to. If the URL specified does not match the cu rrently navigated URL (user has navigated to another page) then no action is tak en."}
45 }, 44 },
46 "optional": false 45 "optional": false
47 } 46 }
48 ] 47 ]
49 } 48 }
50 ], 49 ],
51 "events": [] 50 "events": []
52 } 51 }
53 ] 52 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/page_action.json ('k') | chrome/common/extensions/api/page_capture.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698