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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/docs/experimental.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 2453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2464 { 2464 {
2465 "name": "createIncognitoTab", 2465 "name": "createIncognitoTab",
2466 "type": "function", 2466 "type": "function",
2467 "description": "Creates an incognito tab during internal testing. Succee ds even if the extension is not enabled in incognito mode.", 2467 "description": "Creates an incognito tab during internal testing. Succee ds even if the extension is not enabled in incognito mode.",
2468 "parameters": [ 2468 "parameters": [
2469 {"type": "string", "name": "url"} 2469 {"type": "string", "name": "url"}
2470 ] 2470 ]
2471 } 2471 }
2472 ], 2472 ],
2473 "events": [] 2473 "events": []
2474 },
2475 {
2476 "namespace": "experimental.clipboard",
2477 "types": [],
2478 "functions": [
2479 {
2480 "name": "executeCopy",
2481 "type": "function",
2482 "description": "Triggers a copy operation in the specified tab.",
2483 "parameters": [
2484 {"type": "integer", "name": "tabId", "minimum": 0},
2485 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2486 ]
2487 },
2488 {
2489 "name": "executeCut",
2490 "type": "function",
2491 "description": "Triggers a cut operation in the specified tab.",
2492 "parameters": [
2493 {"type": "integer", "name": "tabId", "minimum": 0},
2494 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2495 ]
2496 },
2497 {
2498 "name": "executePaste",
2499 "type": "function",
2500 "description": "Triggers a paste operation in the specified tab.",
2501 "parameters": [
2502 {"type": "integer", "name": "tabId", "minimum": 0},
2503 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2504 ]
2505 }
2506 ],
2507 "events": []
2474 } 2508 }
2475 ] 2509 ]
OLDNEW
« 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