Add user_gesture parameter to OnBeforeBrowse (issue #1526)

This commit is contained in:
Felix Bruns
2018-04-27 15:11:53 +00:00
committed by Marshall Greenblatt
parent 0677d0d9de
commit 4b33c17533
15 changed files with 46 additions and 11 deletions

View File

@@ -9,7 +9,7 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=cde69cb97f29cb75da85bb709470f73d9e57f5bc$
// $hash=f8849fecaa6e2a36280b9c71b37bdfbe1600fb06$
//
#ifndef CEF_LIBCEF_DLL_CTOCPP_REQUEST_HANDLER_CTOCPP_H_
@@ -37,6 +37,7 @@ class CefRequestHandlerCToCpp
bool OnBeforeBrowse(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefRequest> request,
bool user_gesture,
bool is_redirect) override;
bool OnOpenURLFromTab(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,