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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/file_manager/main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/file_browser_private.json
diff --git a/chrome/common/extensions/api/file_browser_private.json b/chrome/common/extensions/api/file_browser_private.json
index 3b28fd858ec4762d822e0cb9e2591af64c7a31e3..e3e9f3b790200eeaa59805ead4bf70bab471697f 100644
--- a/chrome/common/extensions/api/file_browser_private.json
+++ b/chrome/common/extensions/api/file_browser_private.json
@@ -388,6 +388,30 @@
]
},
{
+ "name": "setDefaultTask",
+ "description": "Sets default task.",
+ "parameters": [
+ {
+ "name": "taskId",
+ "type": "string",
+ "description": "The unique identifier of task to mark as default."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [
+ {
+ "name": "success",
+ "type": "boolean",
+ "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
+ "description": "True if task successfully made default."
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "getFileTasks",
"description": "Gets the list of tasks that can be performed over selected files.",
"parameters": [
« 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