andreykrasnodar wrote: Sun Aug 23, 2020 9:02 pm
dilfich wrote: Fri Aug 07, 2020 8:22 am
Try this
Code: Select all
Request := TCefRequestRef.New;
Request.Assign(url, '', nil, Header);
Request.SetReferrer(url, REFERRER_POLICY_CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE);
WB.Browser.MainFrame.LoadRequest(Request);
Undeclared identifier: 'TCefRequestRef'
Press CONTROL + SHIFT + F to search, select the "
Search in directories" option, select the OldCEF4Delphi\source directory in the "
Directories:" box, type "TCefRequestRef" in the "
Text to" box at the top and click the "
Ok" button.
You will see that TCefRequestRef is defined in uCEFRequest.pas
OldCEF4Delphi has all the classes that you had with dcef3 but they are in smaller files inside the "
sources" directory.