diff options
Diffstat (limited to 'third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h')
-rw-r--r-- | third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h b/third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h index b4a028f..6c700993 100644 --- a/third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h +++ b/third_party/WebKit/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h @@ -29,6 +29,7 @@ #include <WebKit2/WKBase.h> #include <WebKit2/WKEvent.h> #include <WebKit2/WKFindOptions.h> +#include <WebKit2/WKImage.h> #include <WebKit2/WKPageLoadTypes.h> #ifndef __cplusplus @@ -214,6 +215,9 @@ WK_EXPORT bool WKBundlePageCanHandleRequest(WKURLRequestRef request); WK_EXPORT bool WKBundlePageFindString(WKBundlePageRef page, WKStringRef target, WKFindOptions findOptions); +WK_EXPORT WKImageRef WKBundlePageCreateSnapshotInViewCoordinates(WKBundlePageRef page, WKRect rect, WKImageOptions options); +WK_EXPORT WKImageRef WKBundlePageCreateSnapshotInDocumentCoordinates(WKBundlePageRef page, WKRect rect, WKImageOptions options); + #ifdef __cplusplus } #endif |