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": "The pagecapture API allows you to save a tab as MHTML.", | |
epeterson
2013/03/25 19:35:11
Should be pageCapture --done
| |
8 "functions": [ | 9 "functions": [ |
9 { | 10 { |
10 "name": "saveAsMHTML", | 11 "name": "saveAsMHTML", |
11 "type": "function", | 12 "type": "function", |
12 "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.", |
13 "parameters": [ | 14 "parameters": [ |
14 { | 15 { |
15 "name": "details", | 16 "name": "details", |
16 "type": "object", | 17 "type": "object", |
17 "properties": { | 18 "properties": { |
(...skipping 15 matching lines...) Expand all Loading... | |
33 "optional": "true", | 34 "optional": "true", |
34 "description": "The MHTML data as a Blob." | 35 "description": "The MHTML data as a Blob." |
35 } | 36 } |
36 ] | 37 ] |
37 } | 38 } |
38 ] | 39 ] |
39 } | 40 } |
40 ] | 41 ] |
41 } | 42 } |
42 ] | 43 ] |
OLD | NEW |