Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/common/extensions/api/file_browser_private.json

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "description": "none",
9 "types": [ 9 "types": [
10 { 10 {
11 "id": "FileBrowserTask", 11 "id": "FileBrowserTask",
12 "type": "object", 12 "type": "object",
13 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.", 13 "description": "Represents information about available browser tasks. A task is an abstraction of an operation that the file browser can perform over a selected file set.",
14 "properties": { 14 "properties": {
15 "taskId": {"type": "string", "description": "The unique identifier of the task."}, 15 "taskId": {"type": "string", "description": "The unique identifier of the task."},
16 "title": {"type": "string", "description": "Task title."}, 16 "title": {"type": "string", "description": "Task title."},
17 "iconUrl": {"type": "string", "description": "Task icon url (from chro me://extension-icon/...)"}, 17 "iconUrl": {"type": "string", "description": "Task icon url (from chro me://extension-icon/...)"},
18 "driveApp": {"type": "boolean", "description": "True if this is Drive App."}, 18 "driveApp": {"type": "boolean", "description": "True if this is Drive App."},
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 "optional": true, 443 "optional": true,
444 "description": "Array of selected file MIME types.", 444 "description": "Array of selected file MIME types.",
445 "items": { "type": "string" } 445 "items": { "type": "string" }
446 }, 446 },
447 { 447 {
448 "name": "callback", 448 "name": "callback",
449 "type": "function", 449 "type": "function",
450 "optional": true, 450 "optional": true,
451 "parameters": [] 451 "parameters": []
452 } 452 }
453 ] 453 ]
454 }, 454 },
455 { 455 {
456 "name": "getFileTasks", 456 "name": "getFileTasks",
457 "description": "Gets the list of tasks that can be performed over select ed files.", 457 "description": "Gets the list of tasks that can be performed over select ed files.",
458 "parameters": [ 458 "parameters": [
459 { 459 {
460 "name": "fileURLs", 460 "name": "fileURLs",
461 "type": "array", 461 "type": "array",
462 "description": "Array of selected file URLs", 462 "description": "Array of selected file URLs",
463 "items": { "type": "string" } 463 "items": { "type": "string" }
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 "description": "The URL of the parent directory entry." 1129 "description": "The URL of the parent directory entry."
1130 }, 1130 },
1131 { 1131 {
1132 "name": "name", 1132 "name": "name",
1133 "type": "string", 1133 "type": "string",
1134 "description": "The name of the file." 1134 "description": "The name of the file."
1135 }, 1135 },
1136 { 1136 {
1137 "name": "callback", 1137 "name": "callback",
1138 "type": "function", 1138 "type": "function",
1139 "description": "Called back when the check is finished.", 1139 "description": "Called back when the check is finished.",
1140 "parameters": [ 1140 "parameters": [
1141 { 1141 {
1142 "name": "result", 1142 "name": "result",
1143 "type": "boolean", 1143 "type": "boolean",
1144 "description": "true if the length is in the valid range, false otherwise." 1144 "description": "true if the length is in the valid range, false otherwise."
1145 } 1145 }
1146 ] 1146 ]
1147 } 1147 }
1148 ] 1148 ]
1149 }, 1149 },
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 }, 1217 },
1218 { 1218 {
1219 "name": "onDriveConnectionStatusChanged", 1219 "name": "onDriveConnectionStatusChanged",
1220 "type": "function", 1220 "type": "function",
1221 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.", 1221 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getDriveConnectionState'.",
1222 "parameters": [] 1222 "parameters": []
1223 } 1223 }
1224 ] 1224 ]
1225 } 1225 }
1226 ] 1226 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/file_browser_handler_internal.json ('k') | chrome/common/extensions/api/file_system.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698