| OLD | NEW |
| 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": "guestViewInternal", | 7 "namespace": "guestViewInternal", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int
ernal_api.h" | 9 "implemented_in": "chrome/browser/extensions/api/guest_view/guest_view_int
ernal_api.h" |
| 10 }, | 10 }, |
| 11 "description": "none", | 11 "description": "none", |
| 12 "functions": [ | 12 "functions": [ |
| 13 { | 13 { |
| 14 "name": "createGuest", | 14 "name": "createGuest", |
| 15 "type": "function", | 15 "type": "function", |
| 16 "parameters": [ | 16 "parameters": [ |
| 17 { | 17 { |
| 18 "type": "string", | 18 "type": "string", |
| 19 "name": "viewType", | 19 "name": "viewType", |
| 20 "nodoc": true | 20 "nodoc": true |
| 21 }, | 21 }, |
| 22 { | 22 { |
| 23 "type": "object", | 23 "type": "object", |
| 24 "name": "createParams", | 24 "name": "createParams", |
| 25 "properties": { | 25 "additionalProperties": {"type": "any"} |
| 26 "storagePartitionId": { | |
| 27 "type": "string", | |
| 28 "optional": true | |
| 29 } | |
| 30 } | |
| 31 }, | 26 }, |
| 32 { | 27 { |
| 33 "type": "function", | 28 "type": "function", |
| 34 "name": "callback", | 29 "name": "callback", |
| 35 "parameters": [ | 30 "parameters": [ |
| 36 { | 31 { |
| 37 "type": "integer", | 32 "type": "integer", |
| 38 "name": "instanceId" | 33 "name": "instanceId" |
| 39 } | 34 } |
| 40 ] | 35 ] |
| 41 } | 36 } |
| 42 ] | 37 ] |
| 43 } | 38 } |
| 44 ] | 39 ] |
| 45 } | 40 } |
| 46 ] | 41 ] |
| OLD | NEW |