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

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

Issue 226043005: Fix webview.executeScript API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. Created 6 years, 8 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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": "webview", 7 "namespace": "webview",
8 "description": "none", 8 "description": "none",
9 "dependencies": ["contextMenusInternal"], 9 "dependencies": ["contextMenusInternal"],
10 "types": [ 10 "types": [
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "name": "executeScript", 320 "name": "executeScript",
321 "type": "function", 321 "type": "function",
322 "description": "Injects JavaScript code into a <webview> page.", 322 "description": "Injects JavaScript code into a <webview> page.",
323 "parameters": [ 323 "parameters": [
324 { 324 {
325 "type": "integer", 325 "type": "integer",
326 "name": "instanceId", 326 "name": "instanceId",
327 "description": "The instance ID of the guest <webview> process." 327 "description": "The instance ID of the guest <webview> process."
328 }, 328 },
329 { 329 {
330 "type": "string",
331 "name": "src",
332 "description": "The src of the guest <webview> process."
not at google - send to devlin 2014/04/07 17:43:00 why does this need to be exposed to the API?
Fady Samuel 2014/04/07 17:49:32 This is an internal API.
Xi Han 2014/04/07 21:03:37 Done.
Xi Han 2014/04/07 21:03:37 Done.
333 },
334 {
330 "$ref": "tabs.InjectDetails", 335 "$ref": "tabs.InjectDetails",
331 "name": "details", 336 "name": "details",
332 "description": "Details of the script to run." 337 "description": "Details of the script to run."
333 }, 338 },
334 { 339 {
335 "type": "function", 340 "type": "function",
336 "name": "callback", 341 "name": "callback",
337 "optional": true, 342 "optional": true,
338 "description": "Called after all the JavaScript has been executed.", 343 "description": "Called after all the JavaScript has been executed.",
339 "parameters": [ 344 "parameters": [
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 { 649 {
645 "name": "onClicked", 650 "name": "onClicked",
646 "type": "function", 651 "type": "function",
647 "nodoc": true, 652 "nodoc": true,
648 "$ref": "contextMenusInternal.onClicked" 653 "$ref": "contextMenusInternal.onClicked"
649 } 654 }
650 ] 655 ]
651 } 656 }
652 ] 657 ]
653 658
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698