chrome: Add CefJSDialogHandler support (fixes #3702)

This commit is contained in:
Yuta Sekiguchi
2024-06-04 12:19:14 -04:00
committed by Marshall Greenblatt
parent fd7444c7a4
commit e4bb51f6f6
8 changed files with 58 additions and 24 deletions

View File

@@ -118,6 +118,8 @@ class ChromeBrowserDelegate : public cef::BrowserDelegate {
void CanDownload(const GURL& url,
const std::string& request_method,
base::OnceCallback<void(bool)> callback) override;
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
content::WebContents* source) override;
content::KeyboardEventProcessingResult PreHandleKeyboardEvent(
content::WebContents* source,
const content::NativeWebKeyboardEvent& event) override;