DescriptionFunctionality has been requested in the Extension API for Javascript to
take screenshots of the currently visible tab. This changelist builds this
function, chrome.tabs.getVisibleScreenCapture. This function takes a
single callback function and returns to that function a data URL of a JPEG
image of the current screen. A simple sample extension is provided as a
use case.
BUG=14760
TEST=There is an extension in chrome\test\data\extensions\samples\screenshot,
load this extension. It creates a toolstrip button. Click this button, you
should get a page with a screenshot of the active tab. The API function
is found at chrome.tabs.getVisibleScreenCapture.
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #
Total comments: 43
Patch Set 5 : '' #Patch Set 6 : '' #Patch Set 7 : '' #
Total comments: 14
Patch Set 8 : '' #
Total comments: 7
Patch Set 9 : '' #Patch Set 10 : '' #Patch Set 11 : '' #
Total comments: 5
Patch Set 12 : '' #Patch Set 13 : '' #
Total comments: 10
Patch Set 14 : '' #
Total comments: 4
Patch Set 15 : '' #Patch Set 16 : '' #Patch Set 17 : '' #Patch Set 18 : '' #Patch Set 19 : '' #
Total comments: 5
Messages
Total messages: 34 (0 generated)
|