| OLD | NEW |
| 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": "pageCapture", | 7 "namespace": "pageCapture", |
| 8 "description": "Use the <code>chrome.pageCapture</code> API to save a tab as
MHTML.", | 8 "description": "Use the <code>chrome.pageCapture</code> API to save a tab as
MHTML.", |
| 9 "compiler_options": {"use_movable_types": true}, | |
| 10 "functions": [ | 9 "functions": [ |
| 11 { | 10 { |
| 12 "name": "saveAsMHTML", | 11 "name": "saveAsMHTML", |
| 13 "type": "function", | 12 "type": "function", |
| 14 "description": "Saves the content of the tab with given id as MHTML.", | 13 "description": "Saves the content of the tab with given id as MHTML.", |
| 15 "parameters": [ | 14 "parameters": [ |
| 16 { | 15 { |
| 17 "name": "details", | 16 "name": "details", |
| 18 "type": "object", | 17 "type": "object", |
| 19 "properties": { | 18 "properties": { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 "optional": true, | 34 "optional": true, |
| 36 "description": "The MHTML data as a Blob." | 35 "description": "The MHTML data as a Blob." |
| 37 } | 36 } |
| 38 ] | 37 ] |
| 39 } | 38 } |
| 40 ] | 39 ] |
| 41 } | 40 } |
| 42 ] | 41 ] |
| 43 } | 42 } |
| 44 ] | 43 ] |
| OLD | NEW |