chrome.experimental.clipboard
For information on how to use experimental APIs,
see the chrome.experimental.* APIs page.
Notes
For all functions exposed by this API, the argument to the callback indicates
whether or not the event was successfully dispatched, not whether the event was
successfully processed and handled. Most callers won't care, since a failure
generally indicates the tab is going away.
API reference: chrome.experimental.clipboard
Properties
getLastError
chrome.extensionlastError
Methods
executeCopy
void
chrome.experimental.clipboard.executeCopy(, integer
tabId, function
callback)
Undocumented.
Triggers a copy operation in the specified tab.
Parameters
-
tabId
(
optional
Type
array of
integer
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
-
callback
(
optional
Type
array of
function
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function() {...});
executeCut
void
chrome.experimental.clipboard.executeCut(, integer
tabId, function
callback)
Undocumented.
Triggers a cut operation in the specified tab.
Parameters
-
tabId
(
optional
Type
array of
integer
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
-
callback
(
optional
Type
array of
function
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function() {...});
executePaste
void
chrome.experimental.clipboard.executePaste(, integer
tabId, function
callback)
Undocumented.
Triggers a paste operation in the specified tab.
Parameters
-
tabId
(
optional
Type
array of
integer
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
-
callback
(
optional
Type
array of
function
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function() {...});
Events
event name
chrome.bookmarksonEvent.addListener(function(Type param1, Type param2) {...});
Undocumented.
A description from the json schema def of the event goes here.
Parameters