Skip to content

Commit

Permalink
feat: adopted to CEF version 131+
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Feb 14, 2025
1 parent bb1cbae commit 1050326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/CefViewBrowserClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ class CefViewBrowserClient
virtual CefRefPtr<CefLifeSpanHandler> GetLifeSpanHandler() override;
virtual bool OnBeforePopup(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
#if CEF_VERSION_MAJOR > 131
int popup_id,
#endif
const CefString& target_url,
const CefString& target_frame_name,
CefLifeSpanHandler::WindowOpenDisposition target_disposition,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ CefViewBrowserClient::GetLifeSpanHandler()
bool
CefViewBrowserClient::OnBeforePopup(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
#if CEF_VERSION_MAJOR > 131
int popup_id,
#endif
const CefString& target_url,
const CefString& target_frame_name,
CefLifeSpanHandler::WindowOpenDisposition target_disposition,
Expand Down

0 comments on commit 1050326

Please sign in to comment.