1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-12 22:07:39 +02:00

Added Delphi 10.3 Rio support

Added ComponentPlatformsAttribute to all the components to provide platform-specific run-time information.
This commit is contained in:
Salvador Díaz Fau
2018-12-09 11:11:59 +01:00
parent fbe8ecaedd
commit 665a578001
160 changed files with 5904 additions and 429 deletions

View File

@ -47,7 +47,7 @@ uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, ComCtrls, StdCtrls,
{$ENDIF}
uCEFInterfaces, uCEFUrlRequestClientComponent;
uCEFInterfaces, uCEFUrlRequestClientComponent, uCEFRequest, uCEFUrlRequest;
const
URLREQUEST_SUCCESS = WM_APP + $101;
@ -110,7 +110,7 @@ implementation
// 3- in the TCEFUrlRequestClientComponent.OnRequestComplete event we set FCanClose to TRUE and send WM_CLOSE to the form.
uses
uCEFMiscFunctions, uCEFTypes, uCEFUrlRequest, uCEFRequest, uCEFPostData, uCEFPostDataElement;
uCEFMiscFunctions, uCEFTypes, uCEFPostData, uCEFPostDataElement, uCEFConstants;
procedure TURLRequestFrm.DownloadBtnClick(Sender: TObject);
var
@ -192,6 +192,7 @@ begin
TempRequest := TCefRequestRef.New;
TempRequest.URL := FPendingURL;
TempRequest.Method := 'GET';
TempRequest.Flags := UR_FLAG_ALLOW_STORED_CREDENTIALS;
// POST request example
// --------------------