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

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

Issue 10411018: [FileBrowser] Added DefaultAction dialog to choose default action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments. Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/main.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "nodoc": "true",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 "name": "success", 381 "name": "success",
382 "type": "boolean", 382 "type": "boolean",
383 "optional": true, 383 "optional": true,
384 "description": "True of task execution was successfully initiate d." 384 "description": "True of task execution was successfully initiate d."
385 } 385 }
386 ] 386 ]
387 } 387 }
388 ] 388 ]
389 }, 389 },
390 { 390 {
391 "name": "setDefaultTask",
392 "description": "Sets default task.",
393 "parameters": [
394 {
395 "name": "taskId",
396 "type": "string",
397 "description": "The unique identifier of task to mark as default."
398 },
399 {
400 "name": "callback",
401 "type": "function",
402 "optional": true,
403 "parameters": [
404 {
405 "name": "success",
406 "type": "boolean",
407 "optional": true,
asargent_no_longer_on_chrome 2012/05/22 16:46:24 nit: I'm not sure of your use cases, but it seems
408 "description": "True if task successfully made default."
409 }
410 ]
411 }
412 ]
413 },
414 {
391 "name": "getFileTasks", 415 "name": "getFileTasks",
392 "description": "Gets the list of tasks that can be performed over select ed files.", 416 "description": "Gets the list of tasks that can be performed over select ed files.",
393 "parameters": [ 417 "parameters": [
394 { 418 {
395 "name": "fileURLs", 419 "name": "fileURLs",
396 "type": "array", 420 "type": "array",
397 "description": "Array of selected file URLs", 421 "description": "Array of selected file URLs",
398 "items": { "type": "string" } 422 "items": { "type": "string" }
399 }, 423 },
400 { 424 {
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 }, 1039 },
1016 { 1040 {
1017 "name": "onNetworkConnectionChanged", 1041 "name": "onNetworkConnectionChanged",
1018 "type": "function", 1042 "type": "function",
1019 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.", 1043 "description": "Fired when the active network connection state changes. The network connection state can be retrieved via 'getNetworkConnectionState'.",
1020 "parameters": [] 1044 "parameters": []
1021 } 1045 }
1022 ] 1046 ]
1023 } 1047 }
1024 ] 1048 ]
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698