DescriptionAdds WebElement::imageContents()
This function returns the image contents for a given WebElement, if there is appropriate image data.
This can be useful for implementing context-menu based actions on images. Currently it only fetches
bitmap data for <img>s, but we could extend it to other image-like nodes if we wanted to.
R=darin@chromium.org, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155179
Patch Set 1 #Patch Set 2 : put it on WebNode since we retain the context menu node #
Total comments: 2
Patch Set 3 : put image fetching logic in WebCore::Element, add basic smoke test #
Total comments: 1
Patch Set 4 : move imageContents() call down to WebElement #
Total comments: 2
Patch Set 5 : fix webkit_test_support in static build, it needs to depend on skia so the SkBitma.h include works #
Messages
Total messages: 19 (0 generated)
|