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

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: 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
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 9994c404dbfa431e8f25f7b80bcf376e2b6afb2e..3cea43b17488ff97d4cfe7c67ad27a1d533e15a2 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 for passed patterns, to specified task.",
dgozman 2012/05/18 14:50:06 Wrong description. No patterns are passed.
Dmitry Zvorygin 2012/05/22 14:32:59 Done.
+ "parameters": [
+ {
+ "name": "taskId",
+ "type": "string",
+ "description": "The unique identifier of task to save for this patterns."
dgozman 2012/05/18 14:50:06 Wrong description.
Dmitry Zvorygin 2012/05/22 14:32:59 Done.
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "parameters": [
+ {
+ "name": "success",
+ "type": "boolean",
+ "optional": true,
+ "description": "True of default task successfully assigned to passed patterns."
dgozman 2012/05/18 14:50:06 Wrong description. Typo: of -> if.
Dmitry Zvorygin 2012/05/22 14:32:59 Done.
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "getFileTasks",
"description": "Gets the list of tasks that can be performed over selected files.",
"parameters": [

Powered by Google App Engine
This is Rietveld 408576698