[webkit-changes] [WebKit/WebKit] b98c2d: [Win][MiniBrowser] Enable "Download linked file" a...
Kenji Shukuwa
noreply at github.com
Mon Jul 24 19:47:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b98c2d1c85b607d1d7a5836e6948bde2bc9d6294
https://github.com/WebKit/WebKit/commit/b98c2d1c85b607d1d7a5836e6948bde2bc9d6294
Author: Kenji Shukuwa <kenji.shukuwa at open-tec.co.jp>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp
M Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.h
M Tools/MiniBrowser/win/Common.cpp
M Tools/MiniBrowser/win/Common.h
M Tools/MiniBrowser/win/WebKitBrowserWindow.cpp
M Tools/MiniBrowser/win/WebKitBrowserWindow.h
Log Message:
-----------
[Win][MiniBrowser] Enable "Download linked file" and "Download Image"
https://bugs.webkit.org/show_bug.cgi?id=234887
Reviewed by Fujii Hironori.
WinCairo WebKit2 now supports downloading files with 250472 at main.
So, we enable "Download linked file" and "Download Image" in MiniBrowser.
* Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp:
(WebKit::NetworkDataTaskCurl::invokeDidReceiveResponse):
(WebKit::NetworkDataTaskCurl::setPendingDownloadLocation):
(WebKit::NetworkDataTaskCurl::suggestedFilename const):
(WebKit::NetworkDataTaskCurl::deleteDownloadFile):
* Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.h:
* Tools/MiniBrowser/win/Common.cpp:
(getKnownFolderPath):
* Tools/MiniBrowser/win/Common.h:
* Tools/MiniBrowser/win/WebKitBrowserWindow.cpp:
(WebKitBrowserWindow::WebKitBrowserWindow):
(WebKitBrowserWindow::navigationActionDidBecomeDownload):
(WebKitBrowserWindow::navigationResponseDidBecomeDownload):
(WebKitBrowserWindow::contextMenuDidCreateDownload):
(WebKitBrowserWindow::setDownloadClient):
(WebKitBrowserWindow::downloadDecideDestinationWithResponse):
(WebKitBrowserWindow::downloadDidFinish):
(WebKitBrowserWindow::downloadDidFailWithError):
* Tools/MiniBrowser/win/WebKitBrowserWindow.h:
Canonical link: https://commits.webkit.org/266281@main
More information about the webkit-changes
mailing list