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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 882003: Implement chrome.experimental.clipboard extension API. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 9 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/chrome_tests.gypi ('k') | chrome/common/extensions/docs/experimental.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 41743)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -2471,5 +2471,39 @@
}
],
"events": []
+ },
+ {
+ "namespace": "experimental.clipboard",
+ "types": [],
+ "functions": [
+ {
+ "name": "executeCopy",
+ "type": "function",
+ "description": "Triggers a copy operation in the specified tab.",
+ "parameters": [
+ {"type": "integer", "name": "tabId", "minimum": 0},
+ {"type": "function", "name": "callback", "optional": true, "parameters": []}
+ ]
+ },
+ {
+ "name": "executeCut",
+ "type": "function",
+ "description": "Triggers a cut operation in the specified tab.",
+ "parameters": [
+ {"type": "integer", "name": "tabId", "minimum": 0},
+ {"type": "function", "name": "callback", "optional": true, "parameters": []}
+ ]
+ },
+ {
+ "name": "executePaste",
+ "type": "function",
+ "description": "Triggers a paste operation in the specified tab.",
+ "parameters": [
+ {"type": "integer", "name": "tabId", "minimum": 0},
+ {"type": "function", "name": "callback", "optional": true, "parameters": []}
+ ]
+ }
+ ],
+ "events": []
}
]
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/docs/experimental.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698