| 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":"fileBrowserPrivate", | 7 "namespace":"fileBrowserPrivate", |
| 8 "nodoc": "true", | 8 "nodoc": "true", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "type": "string", | 78 "type": "string", |
| 79 "description": "Object (file) type description." | 79 "description": "Object (file) type description." |
| 80 }, | 80 }, |
| 81 "isPrimary": { | 81 "isPrimary": { |
| 82 "type": "boolean", | 82 "type": "boolean", |
| 83 "description": "True if this WebApp is the primary (default) open ac
tion for this file." | 83 "description": "True if this WebApp is the primary (default) open ac
tion for this file." |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 }, | 86 }, |
| 87 { | 87 { |
| 88 "id": "DriveFileProperties", | 88 "id": "DriveEntryProperties", |
| 89 "type": "object", | 89 "type": "object", |
| 90 "description": "Drive file properties.", | 90 "description": "Drive file properties.", |
| 91 "properties": { | 91 "properties": { |
| 92 "fileUrl": { | 92 "fileUrl": { |
| 93 "type": "string", | 93 "type": "string", |
| 94 "optional": true, | 94 "optional": true, |
| 95 "description": "the URL given for this file." | 95 "description": "the URL given for this file." |
| 96 }, | 96 }, |
| 97 "thumbnailUrl": { | 97 "thumbnailUrl": { |
| 98 "type": "string", | 98 "type": "string", |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 "driveApps" : { | 142 "driveApps" : { |
| 143 "type": "array", | 143 "type": "array", |
| 144 "optional": true, | 144 "optional": true, |
| 145 "items": {"$ref": "DriveWebApp"}, | 145 "items": {"$ref": "DriveWebApp"}, |
| 146 "description": "An array of WebApps capable of opening this file." | 146 "description": "An array of WebApps capable of opening this file." |
| 147 }, | 147 }, |
| 148 "contentMimeType": { | 148 "contentMimeType": { |
| 149 "type": "string", | 149 "type": "string", |
| 150 "optional": true, | 150 "optional": true, |
| 151 "description": "Drive MIME type for this file." | 151 "description": "Drive MIME type for this file." |
| 152 }, |
| 153 "sharedWithMe": { |
| 154 "type": "boolean", |
| 155 "optional": true, |
| 156 "description": "True if the entry is labeled as shared-with-me." |
| 152 } | 157 } |
| 153 } | 158 } |
| 154 }, | 159 }, |
| 155 { | 160 { |
| 156 "id": "MountPointInfo", | 161 "id": "MountPointInfo", |
| 157 "type": "object", | 162 "type": "object", |
| 158 "description": "Mounted point information.", | 163 "description": "Mounted point information.", |
| 159 "properties": { | 164 "properties": { |
| 160 "mountPath": { | 165 "mountPath": { |
| 161 "type": "string", | 166 "type": "string", |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 { | 657 { |
| 653 "name" : "success", | 658 "name" : "success", |
| 654 "type": "boolean", | 659 "type": "boolean", |
| 655 "description": "True if the selected files can be viewed by the
browser." | 660 "description": "True if the selected files can be viewed by the
browser." |
| 656 } | 661 } |
| 657 ] | 662 ] |
| 658 } | 663 } |
| 659 ] | 664 ] |
| 660 }, | 665 }, |
| 661 { | 666 { |
| 662 "name": "getDriveFileProperties", | 667 "name": "getDriveEntryProperties", |
| 663 "description": "Requests Drive file properties for a file", | 668 "description": "Requests Drive file properties for a file", |
| 664 "parameters": [ | 669 "parameters": [ |
| 665 { | 670 { |
| 666 "name": "fileUrl", | 671 "name": "fileUrl", |
| 667 "type": "string", | 672 "type": "string", |
| 668 "description": "URL of a file" | 673 "description": "URL of a file" |
| 669 }, | 674 }, |
| 670 { | 675 { |
| 671 "name": "callback", | 676 "name": "callback", |
| 672 "type": "function", | 677 "type": "function", |
| 673 "parameters": [ | 678 "parameters": [ |
| 674 { | 679 { |
| 675 "name" : "fileProperties", | 680 "name" : "fileProperties", |
| 676 "$ref": "DriveFileProperties", | 681 "$ref": "DriveEntryProperties", |
| 677 "description": "A dictionary containing properties of the reques
ted file." | 682 "description": "A dictionary containing properties of the reques
ted entry." |
| 678 } | 683 } |
| 679 ] | 684 ] |
| 680 } | 685 } |
| 681 ] | 686 ] |
| 682 }, | 687 }, |
| 683 { | 688 { |
| 684 "name": "pinDriveFile", | 689 "name": "pinDriveFile", |
| 685 "description": "Pins/unpins a Drive file in the cache", | 690 "description": "Pins/unpins a Drive file in the cache", |
| 686 "parameters": [ | 691 "parameters": [ |
| 687 { | 692 { |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1251 }, | 1256 }, |
| 1252 { | 1257 { |
| 1253 "name": "onDriveConnectionStatusChanged", | 1258 "name": "onDriveConnectionStatusChanged", |
| 1254 "type": "function", | 1259 "type": "function", |
| 1255 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", | 1260 "description": "Fired when the active network connection state changes.
The network connection state can be retrieved via 'getDriveConnectionState'.", |
| 1256 "parameters": [] | 1261 "parameters": [] |
| 1257 } | 1262 } |
| 1258 ] | 1263 ] |
| 1259 } | 1264 } |
| 1260 ] | 1265 ] |
| OLD | NEW |