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