Skip to content

Commit

Permalink
Merge branch 'master' into TheNormalnij/fix_parser
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij authored Jun 16, 2024
2 parents 5fb153c + e3f9099 commit a1e94e8
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 120 deletions.
5 changes: 3 additions & 2 deletions Client/cefweb/CWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,9 @@ bool CWebView::OnJSDialog(CefRefPtr<CefBrowser> browser, const CefString& origin
// //
// //
////////////////////////////////////////////////////////////////////
bool CWebView::OnFileDialog(CefRefPtr<CefBrowser> browser, CefDialogHandler::FileDialogMode mode, const CefString& title, const CefString& default_file_path,
const std::vector<CefString>& accept_filters, CefRefPtr<CefFileDialogCallback> callback)
bool CWebView::OnFileDialog(CefRefPtr<CefBrowser> browser, FileDialogMode mode, const CefString& title, const CefString& default_file_path,
const std::vector<CefString>& accept_filters, const std::vector<CefString>& accept_extensions, const std::vector<CefString>& accept_descriptions,
CefRefPtr<CefFileDialogCallback> callback)
{
// Don't show the dialog
return true;
Expand Down
5 changes: 3 additions & 2 deletions Client/cefweb/CWebView.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ class CWebView : public CWebViewInterface,
bool& suppress_message) override;

// CefDialogHandler methods
virtual bool OnFileDialog(CefRefPtr<CefBrowser> browser, CefDialogHandler::FileDialogMode mode, const CefString& title, const CefString& default_file_path,
const std::vector<CefString>& accept_filters, CefRefPtr<CefFileDialogCallback> callback) override;
virtual bool OnFileDialog(CefRefPtr<CefBrowser> browser, FileDialogMode mode, const CefString& title, const CefString& default_file_path,
const std::vector<CefString>& accept_filters, const std::vector<CefString>& accept_extensions, const std::vector<CefString>& accept_descriptions,
CefRefPtr<CefFileDialogCallback> callback) override;

// CefDisplayHandler methods
virtual void OnTitleChange(CefRefPtr<CefBrowser> browser, const CefString& title) override;
Expand Down
Loading

0 comments on commit a1e94e8

Please sign in to comment.