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

Side by Side Diff: chrome/common/extensions/api/page_action.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/management.json ('k') | chrome/common/extensions/api/runtime.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": "pageAction", 7 "namespace": "pageAction",
8 "dependencies": [ "tabs" ], 8 "dependencies": [ "tabs" ],
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "properties": { 43 "properties": {
44 "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the page action."}, 44 "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the page action."},
45 "title": {"type": "string", "description": "The tooltip string."} 45 "title": {"type": "string", "description": "The tooltip string."}
46 } 46 }
47 } 47 }
48 ] 48 ]
49 }, 49 },
50 { 50 {
51 "name": "getTitle", 51 "name": "getTitle",
52 "type": "function", 52 "type": "function",
53 "description": "Gets the title of the browser action.", 53 "description": "Gets the title of the page action.",
54 "parameters": [ 54 "parameters": [
55 { 55 {
56 "name": "details", 56 "name": "details",
57 "type": "object", 57 "type": "object",
58 "properties": { 58 "properties": {
59 "tabId": { 59 "tabId": {
60 "type": "integer", 60 "type": "integer",
61 "description": "Specify the tab to get the title from." 61 "description": "Specify the tab to get the title from."
62 } 62 }
63 } 63 }
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 "type": "string", 142 "type": "string",
143 "description": "The html file to show in a popup. If set to the empty string (''), no popup is shown." 143 "description": "The html file to show in a popup. If set to the empty string (''), no popup is shown."
144 } 144 }
145 } 145 }
146 } 146 }
147 ] 147 ]
148 }, 148 },
149 { 149 {
150 "name": "getPopup", 150 "name": "getPopup",
151 "type": "function", 151 "type": "function",
152 "description": "Gets the html document set as the popup for this browser action.", 152 "description": "Gets the html document set as the popup for this page ac tion.",
153 "parameters": [ 153 "parameters": [
154 { 154 {
155 "name": "details", 155 "name": "details",
156 "type": "object", 156 "type": "object",
157 "properties": { 157 "properties": {
158 "tabId": { 158 "tabId": {
159 "type": "integer", 159 "type": "integer",
160 "description": "Specify the tab to get the popup from." 160 "description": "Specify the tab to get the popup from."
161 } 161 }
162 } 162 }
(...skipping 19 matching lines...) Expand all
182 "parameters": [ 182 "parameters": [
183 { 183 {
184 "name": "tab", 184 "name": "tab",
185 "$ref": "tabs.Tab" 185 "$ref": "tabs.Tab"
186 } 186 }
187 ] 187 ]
188 } 188 }
189 ] 189 ]
190 } 190 }
191 ] 191 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/management.json ('k') | chrome/common/extensions/api/runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698