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

Side by Side Diff: extensions/common/api/web_view_internal.json

Issue 1133903004: <webview> documentation: addContentScripts/removeContentScripts should be in alphabetical order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « chrome/common/extensions/api/webview_tag.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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": "webViewInternal", 7 "namespace": "webViewInternal",
8 "description": "none", 8 "description": "none",
9 "compiler_options": { 9 "compiler_options": {
10 "implemented_in": "extensions/browser/api/guest_view/web_view/web_view_int ernal_api.h" 10 "implemented_in": "extensions/browser/api/guest_view/web_view/web_view_int ernal_api.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 { 248 {
249 "type": "integer", 249 "type": "integer",
250 "name": "instanceId", 250 "name": "instanceId",
251 "description": "The instance ID of the guest <webview> process." 251 "description": "The instance ID of the guest <webview> process."
252 }, 252 },
253 { 253 {
254 "type": "array", 254 "type": "array",
255 "name": "contentScriptList", 255 "name": "contentScriptList",
256 "items": { 256 "items": {
257 "$ref": "ContentScriptDetails", 257 "$ref": "ContentScriptDetails",
258 "name": "contentScriptDetails", 258 "name": "contentScriptDetails"
259 "minimum": 1
260 }, 259 },
261 "description": "Details of the content scripts to add." 260 "description": "Details of the content scripts to add.",
261 "minItems": 1
262 } 262 }
263 ] 263 ]
264 }, 264 },
265 { 265 {
266 "name": "removeContentScripts", 266 "name": "removeContentScripts",
267 "type": "function", 267 "type": "function",
268 "description": "Removes specified content scripts from a <webview> page. For details, see the <a href='/extensions/content_scripts#pi'>programmatic inje ction</a> section of the content scripts doc.", 268 "description": "Removes specified content scripts from a <webview> page. For details, see the <a href='/extensions/content_scripts#pi'>programmatic inje ction</a> section of the content scripts doc.",
269 "parameters": [ 269 "parameters": [
270 { 270 {
271 "type": "integer", 271 "type": "integer",
272 "name": "instanceId", 272 "name": "instanceId",
273 "description": "The instance ID of the guest <webview> process." 273 "description": "The instance ID of the guest <webview> process."
274 }, 274 },
275 { 275 {
276 "type": "array", 276 "type": "array",
277 "name": "scriptNameList", 277 "name": "scriptNameList",
278 "items": { 278 "items": {
279 "type": "string", 279 "type": "string",
280 "minimum": 0,
281 "description": "The name of a content script that will be removed. " 280 "description": "The name of a content script that will be removed. "
282 }, 281 },
283 "optional": true, 282 "optional": true,
284 "description": "A list of names of content scripts that will be remo ved. If the list is empty, all the content scripts added to the <webview> page w ill be removed." 283 "description": "A list of names of content scripts that will be remo ved. If the list is empty, all the content scripts added to the <webview> page w ill be removed."
285 } 284 }
286 ] 285 ]
287 }, 286 },
288 { 287 {
289 "name": "setZoom", 288 "name": "setZoom",
290 "type": "function", 289 "type": "function",
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 "type": "function", 693 "type": "function",
695 "description": "Called when deletion has completed.", 694 "description": "Called when deletion has completed.",
696 "optional": true, 695 "optional": true,
697 "parameters": [] 696 "parameters": []
698 } 697 }
699 ] 698 ]
700 } 699 }
701 ] 700 ]
702 } 701 }
703 ] 702 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webview_tag.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698