Skip to content
Snippets Groups Projects
Commit 60339536 authored by svornost's avatar svornost
Browse files

Update CEF target version.

parent 26e49764
No related branches found
No related tags found
1 merge request!11313Fixes
...@@ -2,7 +2,7 @@ BUILD REQUIREMENTS ...@@ -2,7 +2,7 @@ BUILD REQUIREMENTS
The below requirements must be met to build this project. The below requirements must be met to build this project.
- Chromium Embedded Framework (CEF) 76.1.5 or newer. The windows build is - Chromium Embedded Framework (CEF) 112.2.1 or newer. The windows build is
currently configured to operate with the X64 binary distribution of CEF. currently configured to operate with the X64 binary distribution of CEF.
- CMake version 2.8.12.1 or newer. - CMake version 2.8.12.1 or newer.
......
...@@ -36,7 +36,7 @@ class FCHostHandler : public CefClient, ...@@ -36,7 +36,7 @@ class FCHostHandler : public CefClient,
CefRefPtr< CefDialogHandler > GetDialogHandler() override { return this; } CefRefPtr< CefDialogHandler > GetDialogHandler() override { return this; }
bool OnFileDialog(CefRefPtr<CefBrowser> browser, CefDialogHandler::FileDialogMode mode, bool OnFileDialog(CefRefPtr<CefBrowser> browser, CefDialogHandler::FileDialogMode mode,
const CefString& title, const CefString& default_file_path, const std::vector<CefString>& accept_filters, const CefString& title, const CefString& default_file_path, const std::vector<CefString>& accept_filters,
int selected_accept_filter, CefRefPtr<CefFileDialogCallback> callback) override; CefRefPtr<CefFileDialogCallback> callback) override;
// CefDisplayHandler methods: // CefDisplayHandler methods:
virtual void OnTitleChange(CefRefPtr<CefBrowser> browser, virtual void OnTitleChange(CefRefPtr<CefBrowser> browser,
......
...@@ -29,7 +29,7 @@ void FCHostHandler::PlatformTitleChange(CefRefPtr<CefBrowser> browser, ...@@ -29,7 +29,7 @@ void FCHostHandler::PlatformTitleChange(CefRefPtr<CefBrowser> browser,
bool FCHostHandler::OnFileDialog(CefRefPtr<CefBrowser> /* browser */, CefDialogHandler::FileDialogMode /* mode */, bool FCHostHandler::OnFileDialog(CefRefPtr<CefBrowser> /* browser */, CefDialogHandler::FileDialogMode /* mode */,
const CefString& /* title */, const CefString& /* default_file_path */, const std::vector<CefString>& /* accept_filters */, const CefString& /* title */, const CefString& /* default_file_path */, const std::vector<CefString>& /* accept_filters */,
int /* selected_accept_filter */, CefRefPtr<CefFileDialogCallback> /* callback */) CefRefPtr<CefFileDialogCallback> /* callback */)
{ {
return false; // to display the default dialog return false; // to display the default dialog
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment