[webkit-changes] [WebKit/WebKit] 910d34: [GTK] Stop using injected bundle messages for impl...
Carlos Garcia Campos
noreply at github.com
Wed Sep 21 06:40:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 910d348b46de94f5c1afbd1f853ebb7f0ebaaa22
https://github.com/WebKit/WebKit/commit/910d348b46de94f5c1afbd1f853ebb7f0ebaaa22
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2022-09-21 (Wed, 21 Sep 2022)
Changed paths:
M Source/WebKit/Shared/ImageOptions.h
M Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.cpp
M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp
M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
M Source/WebKit/WebProcess/WebPage/WebPage.h
Log Message:
-----------
[GTK] Stop using injected bundle messages for implementing snapshot API
https://bugs.webkit.org/show_bug.cgi?id=245069
Reviewed by Adrian Perez de Castro and Michael Catanzaro.
Add new options for the features required by gtk API and use WebPageProxy::takeSnapshot().
* Source/WebKit/Shared/ImageOptions.h:
* Source/WebKit/UIProcess/API/glib/WebKitInjectedBundleClient.cpp:
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
(webkit_web_view_get_snapshot):
(webKitWebViewDidReceiveSnapshot): Deleted.
(webKitSnapshotOptionsToSnapshotOptions): Deleted.
(toSnapshotRegion): Deleted.
(generateSnapshotCallbackID): Deleted.
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp:
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp:
(webkitWebPageDidReceiveMessage): Deleted.
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPagePrivate.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::takeSnapshot):
(WebKit::WebPage::scaledSnapshotWithOptions):
(WebKit::WebPage::paintSnapshotAtSize):
(WebKit::WebPage::snapshotAtSize):
* Source/WebKit/WebProcess/WebPage/WebPage.h:
Canonical link: https://commits.webkit.org/254723@main
More information about the webkit-changes
mailing list