summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/file_browser_handler.json
diff options
context:
space:
mode:
authorcduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-12 02:22:21 +0000
committercduvall@chromium.org <cduvall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-12 02:22:21 +0000
commit15a28fd05ef7f31a705078b35539cc62a4cf603b (patch)
tree3e2f777c5a7c1492f73b808b5545894f4bf51e1a /chrome/common/extensions/api/file_browser_handler.json
parent797510b8b3b3e68457476680ea1fdb40eb23ab45 (diff)
downloadchromium_src-15a28fd05ef7f31a705078b35539cc62a4cf603b.zip
chromium_src-15a28fd05ef7f31a705078b35539cc62a4cf603b.tar.gz
chromium_src-15a28fd05ef7f31a705078b35539cc62a4cf603b.tar.bz2
Files generated by the JSON schema compiler are named incorrectly
Files are now named like "file_name.h" instead of "fileName.h" or "file.name.h", and all the JSON files have been renamed. BUG=125669 TEST=All previous tests for the renamed files Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135077 Review URL: https://chromiumcodereview.appspot.com/10272021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/file_browser_handler.json')
-rw-r--r--chrome/common/extensions/api/file_browser_handler.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/chrome/common/extensions/api/file_browser_handler.json b/chrome/common/extensions/api/file_browser_handler.json
new file mode 100644
index 0000000..32d54d7
--- /dev/null
+++ b/chrome/common/extensions/api/file_browser_handler.json
@@ -0,0 +1,46 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace":"fileBrowserHandler",
+ "types": [
+ {
+ "id": "FileHandlerExecuteEventDetails",
+ "type": "object",
+ "description": "Event details payload for fileBrowserHandler.onExecute event.",
+ "properties": {
+ "entries": {
+ "type": "any",
+ "description": "Array of Entry instances representing files that are targets of this action (selected in ChromeOS file browser)."
+ },
+ "tab_id" : {
+ "type": "integer",
+ "optional": true,
+ "description": "The ID of the tab that raised this event. Tab IDs are unique within a browser session."
+ }
+ }
+ }
+ ],
+ "events": [
+ {
+ "name": "onExecute",
+ "type": "function",
+ "description": "Fired when file system action is executed from ChromeOS file browser.",
+ "parameters": [
+ {
+ "name": "id",
+ "type": "string",
+ "description": "File browser action id as specified in the listener component's manifest."
+ },
+ {
+ "name": "details",
+ "$ref": "FileHandlerExecuteEventDetails",
+ "description": "File handler execute event details."
+ }
+ ]
+ }
+ ]
+ }
+]