| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [ | |
| 6 { | |
| 7 "namespace": "pageCapture", | |
| 8 "functions": [ | |
| 9 { | |
| 10 "name": "saveAsMHTML", | |
| 11 "type": "function", | |
| 12 "description": "Saves the content of the tab with given id as MHTML.", | |
| 13 "parameters": [ | |
| 14 { | |
| 15 "name": "details", | |
| 16 "type": "object", | |
| 17 "properties": { | |
| 18 "tabId": { | |
| 19 "type": "integer", | |
| 20 "minimum": 0, | |
| 21 "description": "The id of the tab to save as MHTML." | |
| 22 } | |
| 23 } | |
| 24 }, | |
| 25 { | |
| 26 "name": "callback", | |
| 27 "type": "function", | |
| 28 "description": "Called when the MHTML has been generated.", | |
| 29 "parameters": [ | |
| 30 { | |
| 31 "name": "mhtmlData", | |
| 32 "type": "blob", | |
| 33 "optional": "true", | |
| 34 "description": "The MHTML data as a Blob." | |
| 35 } | |
| 36 ] | |
| 37 } | |
| 38 ] | |
| 39 } | |
| 40 ] | |
| 41 } | |
| 42 ] | |
| OLD | NEW |