InjectedBundleNodeHandle::renderedImage() needs to be exposed from the Cocoa WebAPI...
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index 19d38d0c6059b9729b1661d81afe0d1bc773088c..58226103e61ee8d933709d41b7ebcc6276ce0130 100644 (file)
@@ -1,3 +1,16 @@
+2015-04-03  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        InjectedBundleNodeHandle::renderedImage() needs to be exposed from the Cocoa WebAPI layer.
+        https://bugs.webkit.org/show_bug.cgi?id=143341.
+
+        Reviewed by Anders Carlsson.
+
+        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h:
+        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm:
+        (-[WKWebProcessPlugInNodeHandle renderedImageWithOptions:]): Expose rendered
+        image injected bundle API from the Cocoa layer. A node in the page can be
+        rendered to an NSImage on MacOS and to a UIImage on iOS.
+
 2015-04-03  Chris Dumez  <cdumez@apple.com>
 
         [WK2][iOS] We should prevent NetworkProcess suspension while it has pending SQL transactions